Titanium Community Questions & Answer Archive

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

iPhone application crashing when clicking buttons?

http://pastebin.com/g3ZNhWZ2

Source for current portion of the application I am working on. Choosing buttons too quickly causes the application to crash. Any idea why?

— asked November 1st 2010 by Joey Figaro
  • button
  • crashes
  • error
0 Comments

2 Answers

  • What mobile platform are you using?
    If android, what errors are shown in logcat? ie adb -e logcat

    — answered November 5th 2010 by Paul Dowsett
    permalink
    1 Comment
    • iPhone 4.0.

      — commented November 5th 2010 by Joey Figaro
  • Similar problem with eventListener('click' the event that is passed throws an exception

    2010-11-05 10:07:00.882 CashPad[367:4603] *** -[NSCFNumber
    stringByReplacingOccurrencesOfString:withString:]: unrecognized
    selector sent to instance 0x662dc70
    

    Maybe something similar to why yours is crashing, help.. :)

    — answered November 5th 2010 by James Becker
    permalink
    1 Comment
      • FIXED : This was school boy error, variable name of the button was causing the crash. *

      — commented November 5th 2010 by James Becker
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.