{ "id": "136303", "key": "TIMOB-17659", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-30T20:47:39.000+0000", "created": "2014-09-09T18:09:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "camera", "collection", "ios", "map", "qe-3.4.1" ], "versions": [], "issuelinks": [], "assignee": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-10-06T15:22: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Homes.com is encountering the below error when toggling between annotations on a map when using the map camera. See their message here:\r\n\r\n\"The issue pertains to centering the map on top of an annotation after it is clicked. The idea is that when a user clicks on a map annotation, the map will move over the annotation and then a custom popup will load over the annotation. \r\nWe were able to make the map pan over an annotation by updating the map region. However, because specifications provided required that the map be zoomed in a lot closer to the pins, it meant that we had to use the map camera on iOS. Doing this lead to the issue we are now experiencing. \r\nPlease find attached a copy of a simple project that shows this issue and a copy of the error log we get. \r\nAlso, the error that we get has only happened on the device and not in the simulator.\"\r\n\r\nBelow is the crash as I encounter it. Attached is the sample project and the customer's log.\r\n{code}\r\n[ERROR] : Script Error {\r\n[ERROR] : backtrace = \"#0 () at :621\";\r\n[ERROR] : line = 42;\r\n[ERROR] : message = \"*** Collection <__NSArrayM: 0x16460ef0> was mutated while being enumerated.\";\r\n[ERROR] : sourceId = 59385408;\r\n[ERROR] : }\r\n[ERROR] : The application has crashed with an uncaught exception 'NSGenericException'.\r\n[ERROR] : Reason:\r\n[ERROR] : *** Collection <__NSArrayM: 0x16460ef0> was mutated while being enumerated.\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x2fd70e83 + 130\r\n[ERROR] : 1 libobjc.A.dylib 0x3a0cd6c7 objc_exception_throw + 38\r\n[ERROR] : 2 CoreFoundation 0x2fd70971 + 0\r\n[ERROR] : 3 MapKit 0x30f0da31 + 132\r\n[ERROR] : 4 MapKit 0x30f0d987 + 26\r\n[ERROR] : 5 MapKit 0x30f29151 + 1736\r\n[ERROR] : 6 MapKit 0x30f2a91d + 80\r\n[ERROR] : 7 VectorKit 0x377729a7 + 66\r\n[ERROR] : 8 VectorKit 0x37784383 + 862\r\n[ERROR] : 9 VectorKit 0x37783ff7 + 142\r\n[ERROR] : 10 QuartzCore 0x321cbad3 + 98\r\n[ERROR] : 11 QuartzCore 0x321cb87d + 344\r\n[ERROR] : 12 IOMobileFramebuffer 0x34dfb76d + 104\r\n[ERROR] : 13 IOKit 0x30a52be5 IODispatchCalloutFromCFMessage + 248\r\n[ERROR] : 14 CoreFoundation 0x2fd30b81 + 136\r\n[ERROR] : 15 CoreFoundation 0x2fd3b777 + 34\r\n[ERROR] : 16 CoreFoundation 0x2fd3b713 + 346\r\n[ERROR] : 17 CoreFoundation 0x2fd39edf + 1406\r\n[ERROR] : 18 CoreFoundation 0x2fca4471 CFRunLoopRunSpecific + 524\r\n[ERROR] : 19 CoreFoundation 0x2fca4253 CFRunLoopRunInMode + 106\r\n[ERROR] : 20 GraphicsServices 0x349de2eb GSEventRunModal + 138\r\n[ERROR] : 21 UIKit 0x32559845 UIApplicationMain + 1136\r\n[ERROR] : 22 homes test 0x0003f573 homes test + 34163\r\n[ERROR] : 23 libdyld.dylib 0x3a5c6ab7 + 2\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (0x2fd70e83 0x3a0cd6c7 0x2fd70971 0x30f0da31 0x30f0d987 0x30f29151 0x30f2a91d 0x377729a7 0x37784383 0x37783ff7 0x321cbad3 0x321cb87d 0x34dfb76d 0x30a52be5 0x2fd30b81 0x2fd3b777 0x2fd3b713 0x2fd39edf 0x2fca4471 0x2fca4253 0x349de2eb 0x32559845 0x3f573 0x3a5c6ab7)\r\n{code}", "attachment": [ { "id": "51083", "filename": "homes test.zip", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-09T18:09:59.000+0000", "size": 9251263, "mimeType": "application/zip" }, { "id": "51084", "filename": "testMapCameraErrorLog.rtf", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-09T18:09:59.000+0000", "size": 10651, "mimeType": "text/rtf" } ], "flagged": false, "summary": "iOS: map camera encounters \"Collection <__NSArrayM: 0x16460ef0> was mutated while being enumerated\"", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.3.0, Studio 3.3.0, iOS 7.X, Ti.map 2.0.2", "closedSprints": [ { "id": 220, "state": "closed", "name": "2014 Sprint 20 SDK", "startDate": "2014-09-29T22:32:25.224Z", "endDate": "2014-10-13T18:25:00.000Z", "completeDate": "2014-10-13T18:25:45.560Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "326483", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR master: https://github.com/appcelerator-modules/ti.map/pull/60\r\nPR stable: https://github.com/appcelerator-modules/ti.map/pull/61", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-30T20:17:37.000+0000", "updated": "2014-09-30T20:17:37.000+0000" }, { "id": "326499", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR's merged to map repo. \r\nPackaged module not updated in titanium yet. \r\n\r\nWill add fixVersion once titanium repos are updated", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-30T20:47:39.000+0000", "updated": "2014-09-30T20:47:39.000+0000" }, { "id": "326501", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ewieber] updated module can be found here: https://github.com/appcelerator-modules/ti.map/raw/master/ios/ti.map-iphone-2.0.5.zip", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-30T20:48:50.000+0000", "updated": "2014-09-30T20:48:50.000+0000" }, { "id": "327021", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I no longer witness the issue with the updated module. It has been passed on to the customer.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-06T15:22:49.000+0000", "updated": "2014-10-06T15:22:49.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }