Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Titanium SDK app upgrade problem

Hi,

I updated my app to Titanium 1.3 SDK, but after that my app starts to terminate without cause.
I have a tableView that calls another page and when return to the previous page the program closes …
I found the probable error, and oddly enough this is where I add the textArea, if I remove this code line, the app works normal.

The log error:

[INFO] Application started
2010-05-26 13:14:52.585 Vade Mecum[3996:570f] bool _WebTryThreadLock(bool), 0x506bf60: Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashing now…
[INFO] Application has exited from Simulator

— asked May 26th 2010 by Marcos Gonçalves
  • error
  • iphone
  • sdk
  • textarea
  • titanium
0 Comments

4 Answers

  • Sounds like you may have hit a bug - could you put together an app.js file (or Resources directory) which recreates the issue so we can create an issue the core team can pick right up and reproduce?

    — answered May 26th 2010 by Kevin Whinnery
    permalink
    0 Comments
  • @ Kevin Whinnery

    I'll try to reproduce this for you.

    — answered May 26th 2010 by Marcos Gonçalves
    permalink
    0 Comments
  • @ Kevin Whinnery

    1º screen: My app.js: http://pastie.org/978505
    2º screen: tableView.js: http://pastie.org/978506
    3º screen: textArea.js: http://pastie.org/978508

    This reproduces the bug I mentioned, I hope that helps

    — answered May 26th 2010 by Marcos Gonçalves
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.