{ "id": "161640", "key": "AC-4022", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-07-11T13:26:49.000+0000", "created": "2016-07-10T11:26:45.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-07-11T13:26:49.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When I add a 2-column picker (credit card month and year) with two integers (\"01\" and \"2016\" respectively) as row titles I get the error message below. \r\n\r\nWhen I change all of the row titles of 1 column and add a letter for instance to all of the row titles (e.g. , ) there is no error and the rest of the code is also executed properly as well.\r\n\r\n*CODE:*\r\n\r\n{code:java}\r\n\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n{code}\r\n\r\n*ERROR:*\r\n\r\n{noformat}\r\n[ERROR] : The application has crashed with an uncaught exception 'NSInvalidArgumentException'.\r\n[ERROR] : Reason:\r\n[ERROR] : -[__NSCFNumber rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0x7fb7eb5ace30\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x000000010db34f1d __exceptionPreprocess + 141\r\n[ERROR] : 1 libobjc.A.dylib 0x000000010d70cbb7 objc_exception_throw + 45\r\n[ERROR] : 2 CoreFoundation 0x000000010db3c04d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205\r\n[ERROR] : 3 CoreFoundation 0x000000010da9427c ___forwarding___ + 988\r\n[ERROR] : 4 CoreFoundation 0x000000010da93e18 _CF_forwarding_prep_0 + 120\r\n[ERROR] : 5 UIKit 0x000000010a2e8f8e -[UILabel _contentInsetsFromFonts] + 126\r\n[ERROR] : 6 UIKit 0x000000010a5476e6 -[_UILabelLayer updateContentInsets] + 110\r\n[ERROR] : 7 UIKit 0x000000010a5477bd -[_UILabelLayer updateContentLayerSize] + 47\r\n[ERROR] : 8 UIKit 0x000000010a5478af -[_UILabelLayer layoutSublayers] + 25\r\n[ERROR] : 9 QuartzCore 0x000000010c498a0e _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380\r\n[ERROR] : 10 QuartzCore 0x000000010c49887e _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24\r\n[ERROR] : 11 QuartzCore 0x000000010c40663e _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 242\r\n[ERROR] : 12 QuartzCore 0x000000010c40774a _ZN2CA11Transaction6commitEv + 390\r\n[ERROR] : 13 QuartzCore 0x000000010c407db5 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 89\r\n[ERROR] : 14 CoreFoundation 0x000000010da69dc7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23\r\n[ERROR] : 15 CoreFoundation 0x000000010da69d20 __CFRunLoopDoObservers + 368\r\n[ERROR] : 16 CoreFoundation 0x000000010da5fb53 __CFRunLoopRun + 1123\r\n[ERROR] : 17 CoreFoundation 0x000000010da5f486 CFRunLoopRunSpecific + 470\r\n[ERROR] : 18 GraphicsServices 0x000000010e0499f0 GSEventRunModal + 161\r\n[ERROR] : 19 UIKit 0x000000010a122420 UIApplicationMain + 1282\r\n[ERROR] : 20 TabBase 0x00000001085dab79 main + 393\r\n[ERROR] : 21 libdyld.dylib 0x000000010f899145 start + 1\r\n[ERROR] : 22 ??? 0x0000000000000001 0x0 + 1\r\n[ERROR] : \r\n[ERROR] : 2016-07-10 13:14:52.706 TabBase[43303:230847] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0x7fb7eb5ace30'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (\r\n[ERROR] : \t0 CoreFoundation 0x000000010db34f35 __exceptionPreprocess + 165\r\n[ERROR] : \t1 libobjc.A.dylib 0x000000010d70cbb7 objc_exception_throw + 45\r\n[ERROR] : \t2 CoreFoundation 0x000000010db3c04d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205\r\n[ERROR] : \t3 CoreFoundation 0x000000010da9427c ___forwarding___ + 988\r\n[ERROR] : \t4 CoreFoundation 0x000000010da93e18 _CF_forwarding_prep_0 + 120\r\n[ERROR] : \t5 UIKit 0x000000010a2e8f8e -[UILabel _contentInsetsFromFonts] + 126\r\n[ERROR] : \t6 UIKit 0x000000010a5476e6 -[_UILabelLayer updateContentInsets] + 110\r\n[ERROR] : \t7 UIKit 0x000000010a5477bd -[_UILabelLayer updateContentLayerSize] + 47\r\n[ERROR] : \t8 UIKit 0x000000010a5478af -[_UILabelLayer layoutSublayers] + 25\r\n[ERROR] : \t9 QuartzCore 0x000000010c498a0e _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380\r\n[ERROR] : \t10 QuartzCore 0x000000010c49887e _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24\r\n[ERROR] : \t11 QuartzCore 0x000000010c40663e _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 242\r\n[ERROR] : \t12 QuartzCore 0x000000010c40774a _ZN2CA11Transaction6commitEv + 390\r\n[ERROR] : \t13 QuartzCore 0x000000010c407db5 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 89\r\n[ERROR] : \t14 CoreFoundation 0x000000010da69dc7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23\r\n[ERROR] : \t15 CoreFoundation 0x000000010da69d20 __CFRunLoopDoObservers + 368\r\n[ERROR] : \t16 CoreFoundation 0x000000010da5fb53 __CFRunLoopRun + 1123\r\n[ERROR] : \t17 CoreFoundation 0x000000010da5f486 CFRunLoopRunSpecific + 470\r\n[ERROR] : \t18 GraphicsServices 0x000000010e0499f0 GSEventRunModal + 161\r\n[ERROR] : \t19 UIKit 0x000000010a122420 UIApplicationMain + 1282\r\n[ERROR] : \t20 TabBase 0x00000001085dab79 main + 393\r\n[ERROR] : \t21 libdyld.dylib 0x000000010f899145 start + 1\r\n[ERROR] : \t22 ??? 0x0000000000000001 0x0 + 1\r\n[ERROR] : )\r\n[ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{noformat}\r\n\r\n", "attachment": [], "flagged": false, "summary": "2 Column Picker with integers only as picker row titles outputs uncaught exception 'NSInvalidArgumentException'.", "creator": { "name": "mgs@vodes.net", "key": "mgs@vodes.net", "displayName": "Markus Schneider", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mgs@vodes.net", "key": "mgs@vodes.net", "displayName": "Markus Schneider", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X (Yosemite), iPhone simulator", "comment": { "comments": [ { "id": "390292", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Closing as duplicate of TIMOB-23191. The fix will be available in Titanium 5.4.0.GA (end of July). Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-11T13:26:49.000+0000", "updated": "2016-07-11T13:26:49.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }