{ "id": "118730", "key": "AC-2298", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-08-19T18:18:55.000+0000", "created": "2013-08-19T11:06:05.000+0000", "labels": [ "node", "sdk", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:18.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": "Error occurs only on iOS.\r\n\r\n*Test case*\r\n{code:javascript}pickerSportOpen = true;\r\n\t\t\t\t\twrapper = Ti.UI.createView({\r\n\t\t\t\t\t backgroundColor: 'transparent',\r\n\t\t\t\t\t height: 'auto',\r\n\t\t\t\t\t width:'auto'\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\ttView = Ti.UI.createView({\r\n\t\t\t\t opacity:0.8,\r\n\t\t\t\t width:'auto',\r\n\t\t\t\t height:'auto',\r\n\t\t\t\t backgroundColor:'#000000'\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\twrapper.add(tView);\r\n\t\t\t\t\twrapper.add(pSportSaison);\r\n\t\t\t\t\twin.add(wrapper);{code}\r\n\r\n*Error*\r\n{code}\r\n[ERROR] : The application has crashed with an uncaught exception 'NSRangeException'.\r\n[ERROR] : Reason:\r\n[ERROR] : *** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds [0 .. 4]\r\n[ERROR] : Stack trace:\r\n[ERROR] : 0 CoreFoundation 0x038f5012 __exceptionPreprocess + 178\r\n[ERROR] : 1 libobjc.A.dylib 0x033b6e7e objc_exception_throw + 44\r\n[ERROR] : 2 CoreFoundation 0x038970b4 -[__NSArrayM objectAtIndex:] + 196\r\n[ERROR] : 3 xxxxxxxxxxxx 0x0007cf70 -[TiViewProxy insertSubview:forProxy:] + 1520\r\n[ERROR] : 4 xxxxxxxxxxxx 0x0007c8a8 -[TiViewProxy refreshView:] + 2232\r\n[ERROR] : 5 xxxxxxxxxxxx 0x0007db03 -[TiViewProxy layoutChildrenIfNeeded] + 259\r\n[ERROR] : 6 xxxxxxxxxxxx 0x001fcbf7 +[TiLayoutQueue layoutProxy:] + 87\r\n[ERROR] : 7 xxxxxxxxxxxx 0x001fc9c2 performLayoutRefresh + 530\r\n[ERROR] : 8 CoreFoundation 0x038b4376 _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION_ + 22\r\n[ERROR] : 9 CoreFoundation 0x038b3e06 __CFRunLoopDoTimer + 534\r\n[ERROR] : 10 CoreFoundation 0x0389ba82 __CFRunLoopRun + 1810\r\n[ERROR] : 11 CoreFoundation 0x0389af44 CFRunLoopRunSpecific + 276\r\n[ERROR] : 12 CoreFoundation 0x0389ae1b CFRunLoopRunInMode + 123\r\n[ERROR] : 13 GraphicsServices 0x0367c7e3 GSEventRunModal + 88\r\n[ERROR] : 14 GraphicsServices 0x0367c668 GSEventRun + 104\r\n[ERROR] : 15 UIKit 0x011b2ffc UIApplicationMain + 1211\r\n[ERROR] : 16 xxxxxxxxxxxx 0x00004448 main + 456\r\n[ERROR] : 17 xxxxxxxxxxxx 0x00002d55 start + 53\r\n[ERROR] : 18 ??? 0x00000001 0x0 + 1\r\n[ERROR] : 2013-08-19 13:12:06.577 CS-Maisonnex[87386:c07] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds [0 .. 4]'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (0x38f5012 0x33b6e7e 0x38970b4 0x7cf70 0x7c8a8 0x7db03 0x1fcbf7 0x1fc9c2 0x38b4376 0x38b3e06 0x389ba82 0x389af44 0x389ae1b 0x367c7e3 0x367c668 0x11b2ffc 0x4448 0x2d55 0x1)\r\n– End simulator log ---------------------------------------------------------\r\n[ERROR] : An error occurred running the iOS Simulator\r\n[ERROR] :\r\n[ERROR] : Project failed to build after 47s 825ms\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Code working with Node.js v0.9.9 and Ti 3.0.2 but not with Node.js v0.10.13 and Ti 3.1.2", "creator": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Node.js v.0.10.13\r\nTi Studio SDK 3.1.2", "comment": { "comments": [ { "id": "267095", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "I have this error:\r\n\r\n[moved to description]", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-19T11:08:58.000+0000", "updated": "2013-08-19T18:15:47.000+0000" }, { "id": "267157", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Chatis,\r\n\r\nPlease can you change your test case to be runnable in a brand new project so that we can reproduce the problem?\r\n\r\nClearly the workaround for now is to simply use an earlier version of Node.js (Titanium is most compatible with v0.8.22).\r\n\r\nThanks.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-19T18:18:55.000+0000", "updated": "2013-08-19T18:18:55.000+0000" }, { "id": "267221", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\n\n\nI'll try but it's not so easy to reproduce the problem in a small part of the code... because it's now in a big project.. But i'll try...\n\nThat's what I'm doing.. Using v0.9.9... But this version isn't compatible with SDK 3.1.2 and my Android App need this SDK to be builded.... :-(", "updateAuthor": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-19T22:07:36.000+0000", "updated": "2013-08-19T22:07:36.000+0000" }, { "id": "277384", "author": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "body": "It's still not working and I can't reproduce a small test case... is it possible you try to see my all project to help me ? Thank you", "updateAuthor": { "name": "chatis", "key": "chatis", "displayName": "Chatis", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-30T18:25:40.000+0000", "updated": "2013-10-30T18:25:40.000+0000" }, { "id": "280630", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Can't reproduce in 3.1.3.GA. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-21T23:33:54.000+0000", "updated": "2013-11-21T23:33:54.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }