{ "id": "63926", "key": "TIMOB-3294", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-05-03T16:28:51.000+0000", "created": "2011-04-15T03:41:37.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "core" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:53: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

A common exception that terminates an app happens when trying to\r\nmanipulate, remove, etc. an array filled with native\r\nobjects.

\r\n

One of our customers reports the issue here: http://developer.appcelerator.com/helpdesk/view/66011#c361894

\r\n

This is something common I've seen across trying to remove an\r\narray of event listeners, native objects stored in a global array,\r\netc.

\r\n

Another similar example although not identical is the\r\nscrollableView's 'views' property. If it's populated with 20 views\r\nand then you decide to loop through each one removing them (i.e.\r\nusing the remove method) - it can take several seconds on the\r\ndevice before they are all removed, depending on their contents. If\r\nyou try to repopulate the scrollableView's views before they are\r\nremoved, it throws an exception and terminates the app ('NSArray\r\nwas mutated while being enumerated' or sometimes '0...12 index 14\r\nnot found', depending on the context).

\r\n

The above example can be applied to simply removing views from a\r\nwindow that are referenced in a global array and then trying to\r\nrepopulate that array (or even views that are children of a\r\nview).

{html}", "attachment": [], "flagged": false, "summary": "iOS: App termination due to misc. mutable circumstances", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "193658", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Helpdesk ticket is no longer available, no description of a repro case in the ticket itself. Requires reproduction case before we can investigate.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-03T16:28:51.000+0000", "updated": "2012-05-03T16:28:51.000+0000" }, { "id": "411124", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the request for more information has not been provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:53:18.000+0000", "updated": "2017-03-09T23:53:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }