{ "id": "147461", "key": "TIMOB-18877", "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": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-05-12T07:47:47.000+0000", "created": "2015-05-01T23:10:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7.1", "map", "module", "qe-4.0.0" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [], "assignee": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "updated": "2017-03-16T22:57:33.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": "h5. Description:\r\nI was able to import the geocoder sample, then build for simulator. The console reports the following and the app did not run:\r\n{code}\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] : Application started\r\n[INFO] : Geocoder/1.0 (4.0.0.9b6eaf9)\r\n[ERROR] : The application has crashed with an uncaught exception 'NSInvalidArgumentException'.\r\n[ERROR] : Reason:\r\n[ERROR] : -[UIButton setPreservesSuperviewLayoutMargins:]: unrecognized selector sent to instance 0x7ef7ef20\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x0460b1c8 __exceptionPreprocess + 152\r\n[ERROR] : 1 libobjc.A.dylib 0x042d48e5 objc_exception_throw + 44\r\n[ERROR] : 2 CoreFoundation 0x046a8243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275\r\n[ERROR] : 3 CoreFoundation 0x045fb50b ___forwarding___ + 1019\r\n[ERROR] : 4 CoreFoundation 0x045fb0ee _CF_forwarding_prep_0 + 14\r\n[ERROR] : 5 Geocoder 0x005ddb5e -[TiMapAnnotationProxy makeButton:tag:] + 495\r\n[ERROR] : 6 Geocoder 0x005de4c9 -[TiMapAnnotationProxy leftViewAccessory] + 223\r\n[ERROR] : 7 Geocoder 0x005e8f00 -[TiMapView mapView:viewForAnnotation:] + 792\r\n[ERROR] : 8 MapKit 0x00a13676 -[MKMapView annotationManager:representationForAnnotation:] + 366\r\n[ERROR] : 9 MapKit 0x00a4afd1 -[MKAnnotationManager _addRepresentationForAnnotation:] + 475\r\n[ERROR] : 10 MapKit 0x00a49c31 -[MKAnnotationManager showAnnotationsInMapRect:] + 815\r\n[ERROR] : 11 MapKit 0x00a04a88 -[MKMapView _goToMapRegion:duration:animationType:resetHeading:completionHandler:] + 444\r\n[ERROR] : 12 MapKit 0x00a048c7 -[MKMapView _goToMapRegion:duration:animationType:resetHeading:] + 74\r\n[ERROR] : 13 MapKit 0x00a057ba -[MKMapView _setZoomScale:centerMapPoint:duration:animationType:resetHeading:] + 582\r\n[ERROR] : 14 MapKit 0x00a04877 -[MKMapView _setZoomScale:centerCoordinate:duration:animationType:resetHeading:] + 129\r\n[ERROR] : 15 MapKit 0x00a0759b -[MKMapView _goToCenterCoordinate:zoomLevel:animationType:cancelDefaultLocationTimer:] + 1536\r\n[ERROR] : 16 MapKit 0x00a06882 -[MKMapView goToCenterCoordinate:zoomLevel:animationType:] + 81\r\n[ERROR] : 17 MapKit 0x00a0db46 -[MKMapView goToRegion:animationType:] + 138\r\n[ERROR] : 18 MapKit 0x00a0d788 -[MKMapView setRegion:animated:] + 359\r\n[ERROR] : 19 Geocoder 0x005e4151 -[TiMapView render] + 589\r\n[ERROR] : 20 Geocoder 0x005e46ba -[TiMapView frameSizeChanged:bounds:] + 193\r\n[ERROR] : 21 Geocoder 0x000aae27 -[TiUIView checkBounds] + 855\r\n[ERROR] : 22 Geocoder 0x000aaf27 -[TiUIView setBounds:] + 119\r\n[ERROR] : 23 Geocoder 0x005e45ed -[TiMapView setBounds:] + 192\r\n[ERROR] : 24 Geocoder 0x00089c4a -[TiViewProxy relayout] + 1642\r\n[ERROR] : 25 Geocoder 0x0008340c -[TiViewProxy view] + 1852\r\n[ERROR] : 26 Geocoder 0x0008d2ca -[TiViewProxy layoutChild:optimize:withMeasuredBounds:] + 202\r\n[ERROR] : 27 Geocoder 0x0007b472 -[TiViewProxy add:] + 1922\r\n[ERROR] : 28 Geocoder 0x0007b6d3 __19-[TiViewProxy add:]_block_invoke + 51\r\n[ERROR] : 29 Geocoder 0x0014f80c __TiThreadPerformOnMainThread_block_invoke + 60\r\n[ERROR] : 30 Geocoder 0x0014fc80 TiThreadProcessPendingMainThreadBlocks + 528\r\n[ERROR] : 31 Geocoder 0x0014fa59 __TiThreadPerformOnMainThread_block_invoke208 + 57\r\n[ERROR] : 32 libdispatch.dylib 0x056337b8 _dispatch_call_block_and_release + 15\r\n[ERROR] : 33 libdispatch.dylib 0x056484d0 _dispatch_client_callout + 14\r\n[ERROR] : 34 libdispatch.dylib 0x05636726 _dispatch_main_queue_callback_4CF + 340\r\n[ERROR] : 35 CoreFoundation 0x0467043e __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14\r\n[ERROR] : 36 CoreFoundation 0x045b15cb __CFRunLoopRun + 1963\r\n[ERROR] : 37 CoreFoundation 0x045b09d3 CFRunLoopRunSpecific + 467\r\n[ERROR] : 38 CoreFoundation 0x045b07eb CFRunLoopRunInMode + 123\r\n[ERROR] : 39 GraphicsServices 0x054445ee GSEventRunModal + 192\r\n[ERROR] : 40 GraphicsServices 0x0544442b GSEventRun + 104\r\n[ERROR] : 41 UIKit 0x0172af9b UIApplicationMain + 1225\r\n[ERROR] : 42 Geocoder 0x0003cdd8 main + 408\r\n[ERROR] : 43 libdyld.dylib 0x0587c6d9 start + 1\r\n[ERROR] : 44 ??? 0x00000001 0x0 + 1\r\n[ERROR] : \r\n[ERROR] : 2015-05-01 15:51:14.469 Geocoder[99413:70b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIButton setPreservesSuperviewLayoutMargins:]: unrecognized selector sent to instance 0x7ef7ef20'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (\r\n[ERROR] : \t0 CoreFoundation 0x0460b1e4 __exceptionPreprocess + 180\r\n[ERROR] : \t1 libobjc.A.dylib 0x042d48e5 objc_exception_throw + 44\r\n[ERROR] : \t2 CoreFoundation 0x046a8243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275\r\n[ERROR] : \t3 CoreFoundation 0x045fb50b ___forwarding___ + 1019\r\n[ERROR] : \t4 CoreFoundation 0x045fb0ee _CF_forwarding_prep_0 + 14\r\n[ERROR] : \t5 Geocoder 0x005ddb5e -[TiMapAnnotationProxy makeButton:tag:] + 495\r\n[ERROR] : \t6 Geocoder 0x005de4c9 -[TiMapAnnotationProxy leftViewAccessory] + 223\r\n[ERROR] : \t7 Geocoder 0x005e8f00 -[TiMapView mapView:viewForAnnotation:] + 792\r\n[ERROR] : \t8 MapKit 0x00a13676 -[MKMapView annotationManager:representationForAnnotation:] + 366\r\n[ERROR] : \t9 MapKit 0x00a4afd1 -[MKAnnotationManager _addRepresentationForAnnotation:] + 475\r\n[ERROR] : \t10 MapKit 0x00a49c31 -[MKAnnotationManager showAnnotationsInMapRect:] + 815\r\n[ERROR] : \t11 MapKit 0x00a04a88 -[MKMapView _goToMapRegion:duration:animationType:resetHeading:completionHandler:] + 444\r\n[ERROR] : \t12 MapKit 0x00a048c7 -[MKMapView _goToMapRegion:duration:animationType:resetHeading:] + 74\r\n[ERROR] : \t13 MapKit 0x00a057ba -[MKMapView _setZoomScale:centerMapPoint:duration:animationType:resetHeading:] + 582\r\n[ERROR] : \t14 MapKit 0x00a04877 -[MKMapView _setZoomScale:centerCoordinate:duration:animationType:resetHeading:] + 129\r\n[ERROR] : \t15 MapKit 0x00a0759b -[MKMapView _goToCenterCoordinate:zoomLevel:animationType:cancelDefaultLocationTimer:] + 1536\r\n[ERROR] : \t16 MapKit 0x00a06882 -[MKMapView goToCenterCoordinate:zoomLevel:animationType:] + 81\r\n[ERROR] : \t17 MapKit 0x00a0db46 -[MKMapView goToRegion:animationType:] + 138\r\n[ERROR] : \t18 MapKit 0x00a0d788 -[MKMapView setRegion:animated:] + 359\r\n[ERROR] : \t19 Geocoder 0x005e4151 -[TiMapView render] + 589\r\n[ERROR] : \t20 Geocoder 0x005e46ba -[TiMapView frameSizeChanged:bounds:] + 193\r\n[ERROR] : \t21 Geocoder 0x000aae27 -[TiUIView checkBounds] + 855\r\n[ERROR] : \t22 Geocoder 0x000aaf27 -[TiUIView setBounds:] + 119\r\n[ERROR] : \t23 Geocoder 0x005e45ed -[TiMapView setBounds:] + 192\r\n[ERROR] : \t24 Geocoder 0x00089c4a -[TiViewProxy relayout] + 1642\r\n[ERROR] : \t25 Geocoder 0x0008340c -[TiViewProxy view] + 1852\r\n[ERROR] : \t26 Geocoder 0x0008d2ca -[TiViewProxy layoutChild:optimize:withMeasuredBounds:] + 202\r\n[ERROR] : \t27 Geocoder 0x0007b472 -[TiViewProxy add:] + 1922\r\n[ERROR] : \t28 Geocoder 0x0007b6d3 __19-[TiViewProxy add:]_block_invoke + 51\r\n[ERROR] : \t29 Geocoder 0x0014f80c __TiThreadPerformOnMainThread_block_invoke + 60\r\n[ERROR] : \t30 Geocoder 0x0014fc80 TiThreadProcessPendingMainThreadBlocks + 528\r\n[ERROR] : \t31 Geocoder 0x0014fa59 __TiThreadPerformOnMainThread_block_invoke208 + 57\r\n[ERROR] : \t32 libdispatch.dylib 0x056337b8 _dispatch_call_block_and_release + 15\r\n[ERROR] : \t33 libdispatch.dylib 0x056484d0 _dispatch_client_callout + 14\r\n[ERROR] : \t34 libdispatch.dylib 0x05636726 _dispatch_main_queue_callback_4CF + 340\r\n[ERROR] : \t35 CoreFoundation 0x0467043e __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14\r\n[ERROR] : \t36 CoreFoundation 0x045b15cb __CFRunLoopRun + 1963\r\n[ERROR] : \t37 CoreFoundation 0x045b09d3 CFRunLoopRunSpecific + 467\r\n[ERROR] : \t38 CoreFoundation 0x045b07eb CFRunLoopRunInMode + 123\r\n[ERROR] : \t39 GraphicsServices 0x054445ee GSEventRunModal + 192\r\n[ERROR] : \t40 GraphicsServices 0x0544442b GSEventRun + 104\r\n[ERROR] : \t41 UIKit 0x0172af9b UIApplicationMain + 1225\r\n[ERROR] : \t42 Geocoder 0x0003cdd8 main + 408\r\n[ERROR] : \t43 libdyld.dylib 0x0587c6d9 start + 1\r\n[ERROR] : \t44 ??? 0x00000001 0x0 + 1\r\n[ERROR] : )\r\n[ERROR] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{code}\r\n\r\nh5. Steps to reproduce:\r\n1) Launch Studio, check dashboard, import geocoder sample\r\n2) Set to 4.0.0.RC2 SDK and save\r\n3) Run for iOS 7.1 iPad 2 simulator\r\n4) Observe console\r\n\r\nh5. Result:\r\nError as shown above\r\n\r\nh5. Expected Result:\r\nNo uncaught exception", "attachment": [ { "id": "55308", "filename": "ti.map-iphone-2.2.3.zip", "author": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "created": "2015-05-09T00:04:22.000+0000", "size": 1443029, "mimeType": "application/zip" } ], "flagged": false, "summary": "Geocoder sample from Studio dashboard fails with uncaught NSException on 7.1 simulators", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc CLI: 0.2.275\r\nAppc CLI NPM: 0.3.52\r\nTitanium SDK version 4.0.0.RC2\r\nAppcelerator Studio, build: 4.0.0.201504292115\r\nXcode 6.3.1", "closedSprints": [ { "id": 404, "state": "closed", "name": "2015 Sprint 10 SDK", "startDate": "2015-05-09T00:00:53.391Z", "endDate": "2015-05-23T00:00:00.000Z", "completeDate": "2015-05-25T14:55:16.386Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "351436", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Eric W did not encounter this problem. We will try to isolate the differences.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-01T23:10:42.000+0000", "updated": "2015-05-01T23:10:42.000+0000" }, { "id": "351438", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could you please investigate?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-01T23:12:02.000+0000", "updated": "2015-05-01T23:12:02.000+0000" }, { "id": "351546", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mdadu], can you assist?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-04T17:37:27.000+0000", "updated": "2015-05-04T17:37:27.000+0000" }, { "id": "352066", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Encountered this today, using:\r\n\r\nStudio 4.0.0.201505070727\r\nSDK 4.0.0.v20150507131012\r\nAppc NPM 0.3.55\r\nAppc CLI 0.2.282\r\n\r\nOn any iOS 7.1 simulator.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-08T20:56:11.000+0000", "updated": "2015-05-08T21:06:59.000+0000" }, { "id": "352101", "author": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "body": "It looks like a bad module build. I have rebuilt the module using 3.4.0.GA and it seems to work as expected on my machine. I will test the new build on another machine and then make a PR & a release.", "updateAuthor": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "created": "2015-05-09T00:04:07.000+0000", "updated": "2015-05-09T00:04:07.000+0000" }, { "id": "352187", "author": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/6835\r\n4_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/6836", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-11T19:10:36.000+0000", "updated": "2015-05-12T07:15:35.000+0000" }, { "id": "352243", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs tested and merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-12T07:48:57.000+0000", "updated": "2015-05-12T07:48:57.000+0000" }, { "id": "413447", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:57:33.000+0000", "updated": "2017-03-16T22:57:33.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }