{ "id": "159550", "key": "AC-3502", "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-04-14T08:29:57.000+0000", "created": "2016-04-13T18:20:28.000+0000", "labels": [], "versions": [ { "id": "17035", "name": "Appcelerator Studio 4.4.0", "archived": false, "released": false } ], "issuelinks": [ { "id": "51344", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "159478", "key": "TIMOB-23191", "fields": { "summary": "iOS: Non-string PickerRow titles (integer,bool, ..) causing crash", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-14T08:29:58.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Opening a popover with a simple picker crashes the app.\r\n\r\n*[index.js] code to launch popover:*\r\nvar popover = Alloy.createController('popover').getView();\r\npopover.show({view:$.button1});\r\n\r\n*[popover.xml] code*\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t \r\n\t\t\t\t\t \t\r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n--Error--\r\n\r\n[ERROR] : Support for setting title on the popover directly is removed in 3.4.2\r\n[ERROR] : 2016-04-13 13:14:04.978 Test4[92251:16271799] -[__NSCFNumber rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0xb0000000000000f5\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 0xb0000000000000f5\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x000000010993ef4d __exceptionPreprocess + 141\r\n[ERROR] : 1 libobjc.A.dylib 0x0000000109311deb objc_exception_throw + 48\r\n[ERROR] : 2 CoreFoundation 0x000000010994758d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205\r\n[ERROR] : 3 CoreFoundation 0x0000000109894f7a ___forwarding___ + 970\r\n[ERROR] : 4 CoreFoundation 0x0000000109894b28 _CF_forwarding_prep_0 + 120\r\n[ERROR] : 5 UIKit 0x0000000106162d8b -[UILabel _contentInsetsFromFonts] + 137\r\n[ERROR] : 6 UIKit 0x0000000106462ed8 -[_UILabelLayer updateContentInsets] + 127\r\n[ERROR] : 7 UIKit 0x0000000106462fc7 -[_UILabelLayer updateContentLayerSize] + 50\r\n[ERROR] : 8 UIKit 0x0000000106463135 -[_UILabelLayer layoutSublayers] + 25\r\n[ERROR] : 9 QuartzCore 0x00000001083b6bd0 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366\r\n[ERROR] : 10 QuartzCore 0x00000001083b6a4e _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24\r\n[ERROR] : 11 QuartzCore 0x00000001083ab1d5 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277\r\n[ERROR] : 12 QuartzCore 0x00000001083d89f0 _ZN2CA11Transaction6commitEv + 508\r\n[ERROR] : 13 UIKit 0x0000000105f3153a _afterCACommitHandler + 174\r\n[ERROR] : 14 CoreFoundation 0x000000010986a9d7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23\r\n[ERROR] : 15 CoreFoundation 0x000000010986a947 __CFRunLoopDoObservers + 391\r\n[ERROR] : 16 CoreFoundation 0x000000010986059b __CFRunLoopRun + 1147\r\n[ERROR] : 17 CoreFoundation 0x000000010985fe98 CFRunLoopRunSpecific + 488\r\n[ERROR] : 18 GraphicsServices 0x000000010ac70ad2 GSEventRunModal + 161\r\n[ERROR] : 19 UIKit 0x0000000105f07676 UIApplicationMain + 171\r\n[ERROR] : 20 Test4 0x0000000103f95516 main + 310\r\n[ERROR] : 21 libdyld.dylib 0x000000010a58492d start + 1\r\n[ERROR] : \r\n[ERROR] : 2016-04-13 13:14:04.991 Test4[92251:16271799] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0xb0000000000000f5'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (\r\n[ERROR] : \t0 CoreFoundation 0x000000010993ef65 __exceptionPreprocess + 165\r\n[ERROR] : \t1 libobjc.A.dylib 0x0000000109311deb objc_exception_throw + 48\r\n[ERROR] : \t2 CoreFoundation 0x000000010994758d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205\r\n[ERROR] : \t3 CoreFoundation 0x0000000109894f7a ___forwarding___ + 970\r\n[ERROR] : \t4 CoreFoundation 0x0000000109894b28 _CF_forwarding_prep_0 + 120\r\n[ERROR] : \t5 UIKit 0x0000000106162d8b -[UILabel _contentInsetsFromFonts] + 137\r\n[ERROR] : \t6 UIKit 0x0000000106462ed8 -[_UILabelLayer updateContentInsets] + 127\r\n[ERROR] : \t7 UIKit 0x0000000106462fc7 -[_UILabelLayer updateContentLayerSize] + 50\r\n[ERROR] : \t8 UIKit 0x0000000106463135 -[_UILabelLayer layoutSublayers] + 25\r\n[ERROR] : \t9 QuartzCore 0x00000001083b6bd0 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366\r\n[ERROR] : \t10 QuartzCore 0x00000001083b6a4e _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24\r\n[ERROR] : \t11 QuartzCore 0x00000001083ab1d5 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277\r\n[ERROR] : \t12 QuartzCore 0x00000001083d89f0 _ZN2CA11Transaction6commitEv + 508\r\n[ERROR] : \t13 UIKit 0x0000000105f3153a _afterCACommitHandler + 174\r\n[ERROR] : \t14 CoreFoundation 0x000000010986a9d7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23\r\n[ERROR] : \t15 CoreFoundation 0x000000010986a947 __CFRunLoopDoObservers + 391\r\n[ERROR] : \t16 CoreFoundation 0x000000010986059b __CFRunLoopRun + 1147\r\n[ERROR] : \t17 CoreFoundation 0x000000010985fe98 CFRunLoopRunSpecific + 488\r\n[ERROR] : \t18 GraphicsServices 0x000000010ac70ad2 GSEventRunModal + 161\r\n[ERROR] : \t19 UIKit 0x0000000105f07676 UIApplicationMain + 171\r\n[ERROR] : \t20 Test4 0x0000000103f95516 main + 310\r\n[ERROR] : \t21 libdyld.dylib 0x000000010a58492d start + 1\r\n[ERROR] : )\r\n[ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n\r\n\r\n\r\n\r\n*Simply changing the Ti SDK to 5.2.0 in the dropdown in tiapp.xml using the AppC GUI doesn't resolve the issue.\r\n\r\n* But, if I use CLI \"appc use 5.2.0\" then app and picker runs fine. If I understand correctly, this points to the new alloy version being the issue.\r\n\r\n ", "attachment": [], "flagged": false, "summary": "Ui.Picker broken in new alloy in Ti 5.2.1", "creator": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "environment": "CLI. 4.0.1\r\nTi SDK: 5.2.1GA", "comment": { "comments": [ { "id": "382707", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Thanks [~amwinsauto]. We already identified and fixed this bug as TIMOB-23191.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-14T08:29:51.000+0000", "updated": "2016-04-14T08:29:51.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }