{ "id": "137614", "key": "AC-1111", "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": "2015-09-02T05:22:30.000+0000", "created": "2014-10-02T19:52:16.000+0000", "labels": [ "crash", "exception", "ios", "uncaught" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:28.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "App keeps crashing on iPad (iPad only app) with the following crash log, and I have no idea how to debug this, or provide steps how to reproduce this. The live app has many views, and this log does not provide me with any information as to what happened in which file within my project : \r\n\r\nName: NSRangeException\r\nReason: *** -[__NSArrayM objectAtIndex:]: index 2 beyond bounds [0 .. 1]\r\nDetails\r\n#0 CoreFoundation 002F19FF0B ()\r\n#1 libobjc.A.dylib 0039C7CCE7 objc_exception_throw()\r\n#2 CoreFoundation 002F0D608D -[__NSArrayM removeObjectAtIndex:]\r\n#3 Guided Selling 0000128123 -[TiViewProxy insertSubview:forProxy:]\r\n#4 Guided Selling 0000127E9B -[TiViewProxy refreshView:]\r\n#5 Guided Selling 0000128751 -[TiViewProxy layoutChildrenIfNeeded]\r\n#6 Guided Selling 00001BD4B5 -[TiMediaItem valueForUndefinedKey:]\r\n#7 CoreFoundation 002F16AF4F ()\r\n#8 CoreFoundation 002F16AB6B ()\r\n#9 CoreFoundation 002F168EF3 ()\r\n#10 CoreFoundation 002F0D3769 CFRunLoopRunSpecific()\r\n#11 CoreFoundation 002F0D354B CFRunLoopRunInMode()\r\n#12 GraphicsServices 003400D6D3 GSEventRunModal()\r\n#13 UIKit 0031A32891 UIApplicationMain()\r\n#14 Guided Selling 00000EFD3F +[TiFile createTempFile:]\r\n#15 libdyld.dylib 003A17AAB7 ()\r\n\r\nI know its something to do with out of bounds call of an array, but where and how to catch this is nearly impossible, and the error is being thrown within an xcode file : \r\n\r\nFile: EmbeddedAgent.m\r\nLine: 262. \r\n\r\nI am attaching a screenshot of the log. \r\n\r\nIssue has been reported by various other users, but no resolution is yet provided. Please look into the defect and let me know possible causes and remedy to fix this, as this is happening sporadically within a live app.", "attachment": [ { "id": "51776", "filename": "crash.jpg", "author": { "name": "gdogra", "key": "gdogra", "displayName": "Gurtej Singh Dogra", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-02T19:52:17.000+0000", "size": 224834, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Uncaught Exception, application Crashed", "creator": { "name": "gdogra", "key": "gdogra", "displayName": "Gurtej Singh Dogra", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "gdogra", "key": "gdogra", "displayName": "Gurtej Singh Dogra", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium Studio, SDK : 3.2.2 GA, iOS SDK 7.1.1, Xcode 5.1, iPad", "comment": { "comments": [ { "id": "327005", "author": { "name": "gdogra", "key": "gdogra", "displayName": "Gurtej Singh Dogra", "active": true, "timeZone": "America/New_York" }, "body": "Hi, would appreciate any resolution to this ticket. Any help would be appreciated. Please let me know. Thanks. ", "updateAuthor": { "name": "gdogra", "key": "gdogra", "displayName": "Gurtej Singh Dogra", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-05T12:28:18.000+0000", "updated": "2014-10-05T12:28:18.000+0000" }, { "id": "362025", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since we don't have enough information to troubleshoot this.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-02T05:22:30.000+0000", "updated": "2015-09-02T05:22:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }