{ "id": "175118", "key": "TIMOB-27958", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-06T10:53:48.000+0000", "created": "2020-06-08T17:50:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Crash", "ios", "iphone" ], "versions": [], "issuelinks": [ { "id": "59194", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "176059", "key": "TIMOB-28357", "fields": { "summary": "Ti.Geolocation Test Suite: Titanium.Geolocation Acceptance TIMOB-27958 iOS Only", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-17T11:36:29.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": [], "description": "When I use Ti.Geolocation.reverseGeocoder() function in any manner or way (for example: \r\n{code:javascript}\r\n Ti.Geolocation.reverseGeocoder(response.latitude, response.longitude, function (e) {\r\n if (e.success) {\r\n $.address.show();\r\n $.address.text = e.places[0].address;\r\n } else {\r\n $.address.hide();\r\n }\r\n });\r\n{code}\r\n\r\nor, more simpler:\r\n\r\n\r\n{code:javascript}\r\n Ti.Geolocation.reverseGeocoder(25, 10, function (e) {});\r\n{code}\r\n\r\nthe iOS application crashes. On Android, there's no crash and the *geocode works perfectly*.\r\n\r\nHere is the crash log: \r\n\r\n{code:log}\r\n[ERROR] Script Error {\r\n[ERROR] column = 37;\r\n[ERROR] line = 139;\r\n[ERROR] message = \"*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]\";\r\n[ERROR] nativeStack = (\r\n[ERROR] 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350\r\n[ERROR] 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48\r\n[ERROR] 2 CoreFoundation 0x00007fff23ecfa51 _CFThrowFormattedException + 194\r\n[ERROR] 3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38\r\n[ERROR] 4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247\r\n[ERROR] 5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49\r\n[ERROR] 6 WLM Italia 0x000000010df4adba -[GeolocationModule performGeo:address:callback:] + 394\r\n[ERROR] 7 WLM Italia 0x000000010df4aeb4 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164\r\n[ERROR] 8 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140\r\n[ERROR] 9 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321\r\n[ERROR] 10 JavaScriptCore 0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411\r\n[ERROR] 11 JavaScriptCore 0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231\r\n[ERROR] 12 JavaScriptCore 0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575\r\n[ERROR] 13 ??? 0x000030a99ba13527 0x0 + 53505018639655\r\n[ERROR] 14 JavaScriptCore 0x00007fff26c4e74d llint_entry + 93344\r\n[ERROR] 15 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200\r\n[ERROR] 16 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549\r\n[ERROR] 17 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170\r\n[ERROR] 18 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620\r\n[ERROR] 19 TitaniumKit 0x000000010e2d3886 __65-[KrollObject invokeCallbackForKey:withObject:thisObject:onDone:]_block_invoke + 424\r\n[ERROR] 20 libdispatch.dylib 0x00007fff519e2951 _dispatch_call_block_and_release + 12\r\n[ERROR] 21 libdispatch.dylib 0x00007fff519e38cb _dispatch_client_callout + 8\r\n[ERROR] 22 libdispatch.dylib 0x00007fff519efcdb _dispatch_main_queue_callback_4CF + 1042\r\n[ERROR] 23 CoreFoundation 0x00007fff23da0909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n[ERROR] 24 CoreFoundation 0x00007fff23d9b459 __CFRunLoopRun + 2041\r\n[ERROR] 25 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404\r\n[ERROR] 26 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139\r\n[ERROR] 27 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605\r\n[ERROR] 28 WLM Italia 0x000000010dd87d35 main + 1173\r\n[ERROR] 29 libdyld.dylib 0x00007fff51a231fd start + 1\r\n[ERROR] );\r\n[ERROR] sourceURL = undefined;\r\n[ERROR] stack = \"[native code]\\nonload\";\r\n[ERROR] } \r\n[ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]'\r\n[ERROR] *** First throw call stack:\r\n[ERROR] ( \r\n[ERROR] 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350\r\n[ERROR] 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48\r\n[ERROR] 2 CoreFoundation 0x00007fff23ecfa51 _CFThrowFormattedException + 194\r\n[ERROR] 3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38\r\n[ERROR] 4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247\r\n[ERROR] 5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49\r\n[ERROR] 6 WLM Italia 0x000000010df4adba -[GeolocationModule performGeo:address:callback:] + 394\r\n[ERROR] 7 WLM Italia 0x000000010df4aeb4 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164\r\n[ERROR] 8 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140\r\n[ERROR] 9 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321\r\n[ERROR] 10 JavaScriptCore 0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411\r\n[ERROR] 11 JavaScriptCore 0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231\r\n[ERROR] 12 JavaScriptCore 0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575\r\n[ERROR] 13 ??? 0x000030a99ba13527 0x0 + 53505018639655\r\n[ERROR] 14 JavaScriptCore 0x00007fff26c4e74d llint_entry + 93344\r\n[ERROR] 15 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200\r\n[ERROR] 16 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549\r\n[ERROR] 17 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170\r\n[ERROR] 18 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620\r\n[ERROR] 19 TitaniumKit 0x000000010e2d3886 __65-[KrollObject invokeCallbackForKey:withObject:thisObject:onDone:]_block_invoke + 424\r\n[ERROR] 20 libdispatch.dylib 0x00007fff519e2951 _dispatch_call_block_and_release + 12\r\n[ERROR] 21 libdispatch.dylib 0x00007fff519e38cb _dispatch_client_callout + 8\r\n[ERROR] 22 libdispatch.dylib 0x00007fff519efcdb _dispatch_main_queue_callback_4CF + 1042\r\n[ERROR] 23 CoreFoundation 0x00007fff23da0909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n[ERROR] 24 CoreFoundation 0x00007fff23d9b459 __CFRunLoopRun + 2041\r\n[ERROR] 25 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404\r\n[ERROR] 26 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139\r\n[ERROR] 27 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605\r\n[ERROR] 28 WLM Italia 0x000000010dd87d35 main + 1173\r\n[ERROR] 29 libdyld.dylib 0x00007fff51a231fd start + 1\r\n[ERROR] ) \r\n[ERROR] libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{code}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Ti.Geolocation.reverseGeocoder() crashes the app on iOS ", "creator": { "name": "ferdi.traversa", "key": "ferdi.traversa", "displayName": "Ferdinando Traversa", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "ferdi.traversa", "key": "ferdi.traversa", "displayName": "Ferdinando Traversa", "active": true, "timeZone": "Europe/Rome" }, "environment": "*Titanium SDK 9.0.2.GA* *iOS 13.5 *with Appc cli 8.0.0, Titanium CLI 5.2.2", "comment": { "comments": [ { "id": "455702", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Checked & I could not reproduce this. Works for me. Probably a reproducible case will be helpful.", "updateAuthor": { "name": "spulipakkam", "key": "spulipakkam", "displayName": "Srinivasan Pulipakkam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-08T22:53:17.000+0000", "updated": "2020-06-09T22:07:03.000+0000" }, { "id": "455734", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "It seems, it only happens on iPad for me. The same code works on iphone without any problems\r\n\r\n\r\n{code:java}\r\nif (Ti.Geolocation.hasLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE)) {\r\n console.log('has permission');\r\n getLocation();\r\n } else {\r\n Ti.Geolocation.requestLocationPermissions(Ti.Geolocation.AUTHORIZATION_WHEN_IN_USE, (e) => {\r\n if (e.success) {\r\n getLocation();\r\n } else {\r\n console.err('no permission');\r\n }\r\n });\r\n }\r\n{code}\r\n\r\n\r\n{code:java}\r\nconst getLocation = () => {\r\n Ti.Geolocation.getCurrentPosition((e) => {\r\n console.log('getCurrentPosition success', e.success);\r\n if (e.success == true) {\r\n console.log('do reverseGeocoder');\r\n Ti.Geolocation.reverseGeocoder(e.coords.latitude, e.coords.longitude, (geo) => {\r\n console.log(geo);\r\n if (geo.success == true) {\r\n if (geo.places.length > 0) {\r\n $.locationSearchBar.value = geo.places[0].postalCode;\r\n loadPartner();\r\n }\r\n }\r\n });\r\n\r\n }\r\n });\r\n}\r\n{code}\r\n\r\n\r\n{noformat}\r\n[INFO] has permission\r\n[INFO] getCurrentPosition success true\r\n[INFO] do reverseGeocoder\r\n[ERROR] Script Error {\r\n[ERROR] column = 39;\r\n[ERROR] line = 643;\r\n[ERROR] message = \"*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]\";\r\n[ERROR] nativeStack = (\r\n[ERROR] 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350\r\n[ERROR] 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48\r\n[ERROR] 2 CoreFoundation 0x00007fff23ecfa51 _CFThrowFormattedException + 194\r\n[ERROR] 3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38\r\n[ERROR] 4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247\r\n[ERROR] 5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49\r\n[ERROR] 6 Systemhaus 0x0000000108e3a26a -[GeolocationModule performGeo:address:callback:] + 394\r\n[ERROR] 7 Systemhaus 0x0000000108e3a364 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164\r\n[ERROR] 8 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140\r\n[ERROR] 9 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321\r\n[ERROR] 10 JavaScriptCore 0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411\r\n[ERROR] 11 JavaScriptCore 0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231\r\n[ERROR] 12 JavaScriptCore 0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575\r\n[ERROR] 13 ??? 0x0000336698601027 0x0 + 56515736113191\r\n[ERROR] 14 JavaScriptCore 0x00007fff26c4e74d llint_entry + 93344\r\n[ERROR] 15 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200\r\n[ERROR] 16 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549\r\n[ERROR] 17 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170\r\n[ERROR] 18 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620\r\n[ERROR] 19 JavaScriptCore 0x00007fff26c62ebc -[JSValue callWithArguments:] + 252\r\n[ERROR] 20 TitaniumKit 0x00000001092acdac -[ObjcProxy _fireEventToListener:withObject:listener:] + 291\r\n[ERROR] 21 Systemhaus 0x0000000108e3d209 -[GeolocationModule fireSingleShotLocationIfNeeded:stopIfNeeded:] + 441\r\n[ERROR] 22 Systemhaus 0x0000000108e3dfbf -[GeolocationModule locationManager:didUpdateLocations:] + 287\r\n[ERROR] 23 CoreLocation 0x00007fff24a277a7 CLClientStopVehicleHeadingUpdates + 71699\r\n[ERROR] 24 CoreLocation 0x00007fff24a26f10 CLClientStopVehicleHeadingUpdates + 69500\r\n[ERROR] 25 CoreLocation 0x00007fff24a1144e CLClientInvalidate + 1479\r\n[ERROR] 26 CoreFoundation 0x00007fff23da0b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12\r\n[ERROR] 27 CoreFoundation 0x00007fff23da0253 __CFRunLoopDoBlocks + 195\r\n[ERROR] 28 CoreFoundation 0x00007fff23d9b043 __CFRunLoopRun + 995\r\n[ERROR] 29 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404\r\n[ERROR] 30 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139\r\n[ERROR] 31 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605\r\n[ERROR] 32 Systemhaus 0x0000000108c771e2 main + 1170\r\n[ERROR] 33 libdyld.dylib 0x00007fff51a231fd start + 1\r\n[ERROR] 34 ??? 0x0000000000000001 0x0 + 1\r\n[ERROR] );\r\n[ERROR] sourceURL = undefined;\r\n[ERROR] stack = \"[native code]\\n\";\r\n[ERROR] }\r\n[ERROR] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]'\r\n[ERROR] *** First throw call stack:\r\n[ERROR] (\r\n[ERROR] 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350\r\n[ERROR] 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48\r\n[ERROR] 2 CoreFoundation 0x00007fff23ecfa51 _CFThrowFormattedException + 194\r\n[ERROR] 3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38\r\n[ERROR] 4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247\r\n[ERROR] 5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49\r\n[ERROR] 6 Systemhaus 0x0000000108e3a26a -[GeolocationModule performGeo:address:callback:] + 394\r\n[ERROR] 7 Systemhaus 0x0000000108e3a364 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164\r\n[ERROR] 8 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140\r\n[ERROR] 9 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321\r\n[ERROR] 10 JavaScriptCore 0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411\r\n[ERROR] 11 JavaScriptCore 0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231\r\n[ERROR] 12 JavaScriptCore 0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575\r\n[ERROR] 13 ??? 0x0000336698601027 0x0 + 56515736113191\r\n[ERROR] 14 JavaScriptCore 0x00007fff26c4e74d llint_entry + 93344\r\n[ERROR] 15 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200\r\n[ERROR] 16 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549\r\n[ERROR] 17 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170\r\n[ERROR] 18 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620\r\n[ERROR] 19 JavaScriptCore 0x00007fff26c62ebc -[JSValue callWithArguments:] + 252\r\n[ERROR] 20 TitaniumKit 0x00000001092acdac -[ObjcProxy _fireEventToListener:withObject:listener:] + 291\r\n[ERROR] 21 Systemhaus 0x0000000108e3d209 -[GeolocationModule fireSingleShotLocationIfNeeded:stopIfNeeded:] + 441\r\n[ERROR] 22 Systemhaus 0x0000000108e3dfbf -[GeolocationModule locationManager:didUpdateLocations:] + 287\r\n[ERROR] 23 CoreLocation 0x00007fff24a277a7 CLClientStopVehicleHeadingUpdates + 71699\r\n[ERROR] 24 CoreLocation 0x00007fff24a26f10 CLClientStopVehicleHeadingUpdates + 69500\r\n[ERROR] 25 CoreLocation 0x00007fff24a1144e CLClientInvalidate + 1479\r\n[ERROR] 26 CoreFoundation 0x00007fff23da0b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12\r\n[ERROR] 27 CoreFoundation 0x00007fff23da0253 __CFRunLoopDoBlocks + 195\r\n[ERROR] 28 CoreFoundation 0x00007fff23d9b043 __CFRunLoopRun + 995\r\n[ERROR] 29 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404\r\n[ERROR] 30 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139\r\n[ERROR] 31 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605\r\n[ERROR] 32 Systemhaus 0x0000000108c771e2 main + 1170\r\n[ERROR] 33 libdyld.dylib 0x00007fff51a231fd start + 1\r\n[ERROR] 34 ??? 0x0000000000000001 0x0 + 1\r\n[ERROR] )\r\n[ERROR] libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{noformat}\r\n\r\n\r\n", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-10T02:51:53.000+0000", "updated": "2020-06-10T02:51:53.000+0000" }, { "id": "455756", "author": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "body": "I have the same issue on iPhone simulator.\r\n\r\n\r\n{code:java}\r\n[DEBUG] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[5]'\r\n[DEBUG] *** First throw call stack:\r\n[DEBUG] ( \r\n[DEBUG] 0 CoreFoundation 0x00007fff23e3cf0e __exceptionPreprocess + 350\r\n[DEBUG] 1 libobjc.A.dylib 0x00007fff50ba89b2 objc_exception_throw + 48\r\n[DEBUG] 2 CoreFoundation 0x00007fff23ecfa51 _CFThrowFormattedException + 194\r\n[DEBUG] 3 CoreFoundation 0x00007fff23eda4a6 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 38\r\n[DEBUG] 4 CoreFoundation 0x00007fff23e9b787 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 247\r\n[DEBUG] 5 CoreFoundation 0x00007fff23e38e11 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49\r\n[DEBUG] 6 Basciano 0x00000001074b658a -[GeolocationModule performGeo:address:callback:] + 394\r\n[DEBUG] 7 Basciano 0x00000001074b6684 -[GeolocationModule reverseGeocoder:longitude:withCallback:] + 164\r\n[DEBUG] 8 CoreFoundation 0x00007fff23e43e8c __invoking___ + 140\r\n[DEBUG] 9 CoreFoundation 0x00007fff23e41071 -[NSInvocation invoke] + 321\r\n[DEBUG] 10 JavaScriptCore 0x00007fff26c823bb _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 411\r\n[DEBUG] 11 JavaScriptCore 0x00007fff26c81de7 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 231\r\n[DEBUG] 12 JavaScriptCore 0x00007fff26c8158f _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_14JSGlobalObjectEPNS_9CallFrameE + 575\r\n[DEBUG] 13 ??? 0x00004eda6bc01027 0x0 + 86700017586215\r\n[DEBUG] 14 JavaScriptCore 0x00007fff26c4e74d llint_entry + 93344\r\n[DEBUG] 15 JavaScriptCore 0x00007fff26c378ff vmEntryToJavaScript + 200\r\n[DEBUG] 16 JavaScriptCore 0x00007fff2706e6d5 _ZN3JSC11Interpreter11executeCallEPNS_14JSGlobalObjectEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 549\r\n[DEBUG] 17 JavaScriptCore 0x00007fff272a898a _ZN3JSC12profiledCallEPNS_14JSGlobalObjectENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 170\r\n[DEBUG] 18 JavaScriptCore 0x00007fff26c9f75c JSObjectCallAsFunction + 620\r\n[DEBUG] 19 JavaScriptCore 0x00007fff26c62ebc -[JSValue callWithArguments:] + 252\r\n[DEBUG] 20 TitaniumKit 0x0000000107c54b87 -[ObjcProxy fireEvent:withDict:] + 349\r\n[DEBUG] 21 Basciano 0x00000001074ba2a7 -[GeolocationModule locationManager:didUpdateLocations:] + 231\r\n[DEBUG] 22 CoreLocation 0x00007fff24a277a7 CLClientStopVehicleHeadingUpdates + 71699\r\n[DEBUG] 23 CoreLocation 0x00007fff24a26f10 CLClientStopVehicleHeadingUpdates + 69500\r\n[DEBUG] 24 CoreLocation 0x00007fff24a1144e CLClientInvalidate + 1479\r\n[DEBUG] 25 CoreFoundation 0x00007fff23da0b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12\r\n[DEBUG] 26 CoreFoundation 0x00007fff23da0253 __CFRunLoopDoBlocks + 195\r\n[DEBUG] 27 CoreFoundation 0x00007fff23d9b5cb __CFRunLoopRun + 2411\r\n[DEBUG] 28 CoreFoundation 0x00007fff23d9a944 CFRunLoopRunSpecific + 404\r\n[DEBUG] 29 GraphicsServices 0x00007fff38ba6c1a GSEventRunModal + 139\r\n[DEBUG] 30 UIKitCore 0x00007fff48c8b9ec UIApplicationMain + 1605\r\n[DEBUG] 31 Basciano 0x00000001072eb4d2 main + 1170\r\n[DEBUG] 32 libdyld.dylib 0x00007fff51a231fd start + 1\r\n[DEBUG] 33 ??? 0x0000000000000001 0x0 + 1\r\n[DEBUG] ) \r\n[DEBUG] libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{code}\r\n", "updateAuthor": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-11T11:23:07.000+0000", "updated": "2020-06-11T15:15:27.000+0000" }, { "id": "455757", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same for me in iPhone simulator 11 (13.5). Didn't test it on device", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-11T11:46:16.000+0000", "updated": "2020-06-11T11:46:16.000+0000" }, { "id": "455763", "author": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "body": "Added a PR [here|https://github.com/appcelerator/titanium_mobile/pull/11772].", "updateAuthor": { "name": "Andrea.Vitale", "key": "andrea.vitale", "displayName": "Andrea Vitale", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-11T15:36:08.000+0000", "updated": "2020-06-11T15:36:08.000+0000" }, { "id": "455779", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey Guys, Is there any specific scenario in which countryCode is coming 'nil', which is causing crash? I tried to test at my end but unable to reproduce it.\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-12T19:00:59.000+0000", "updated": "2020-06-12T19:00:59.000+0000" }, { "id": "455781", "author": { "name": "ferdi.traversa", "key": "ferdi.traversa", "displayName": "Ferdinando Traversa", "active": true, "timeZone": "Europe/Rome" }, "body": "@Vijay Singh, simply using the code I wrote, it crashes in the emulator at least.", "updateAuthor": { "name": "ferdi.traversa", "key": "ferdi.traversa", "displayName": "Ferdinando Traversa", "active": true, "timeZone": "Europe/Rome" }, "created": "2020-06-12T20:37:57.000+0000", "updated": "2020-06-12T20:37:57.000+0000" }, { "id": "455782", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "I‘m from Germany ", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-12T20:50:59.000+0000", "updated": "2020-06-12T20:50:59.000+0000" }, { "id": "455783", "author": { "name": "ferdi.traversa", "key": "ferdi.traversa", "displayName": "Ferdinando Traversa", "active": true, "timeZone": "Europe/Rome" }, "body": "I’m from Italy", "updateAuthor": { "name": "ferdi.traversa", "key": "ferdi.traversa", "displayName": "Ferdinando Traversa", "active": true, "timeZone": "Europe/Rome" }, "created": "2020-06-12T21:49:19.000+0000", "updated": "2020-06-12T21:49:19.000+0000" }, { "id": "455835", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~benutzername] [~ferdi.traversa] Can you try to verify it with PR https://github.com/appcelerator/titanium_mobile/pull/11772 , if crash is resolved. We are not able to reproduce it at our end. Thanks! ", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-17T18:05:02.000+0000", "updated": "2020-06-17T18:05:02.000+0000" }, { "id": "455837", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "I cannot access https://jenkins.appcelerator.org/job/titanium-sdk/job/titanium_mobile/job/PR-11772/5/artifact/dist/mobilesdk-9.1.0.v20200617110039-osx.zip\r\n\r\nand it's not on http://builds.appcelerator.com.s3.amazonaws.com/index.html#master", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-18T05:12:59.000+0000", "updated": "2020-06-18T05:12:59.000+0000" }, { "id": "455897", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~benutzername]\r\nThanks for your quick action.\r\nYou can download SDK from [here|https://www.dropbox.com/s/qm1wilw20juqoh0/9.1.0.v20200617110039.zip?dl=0] and unzip it at location /Users/user-name/Library/Application Support/Titanium/mobilesdk/osx/ . Update the sdk-version in tiapp.xml and run. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-19T23:21:13.000+0000", "updated": "2020-06-19T23:21:13.000+0000" }, { "id": "455906", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you. I can confirm, that with 9.1.0.v20200617110039 the Ti.Geolocation.reverseGeocoder works as expected", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-06-22T06:37:29.000+0000", "updated": "2020-06-22T06:37:29.000+0000" }, { "id": "455907", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks [~benutzername] .", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-22T16:48:20.000+0000", "updated": "2020-06-22T16:48:20.000+0000" }, { "id": "455977", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed: Waiting on Jenkins build. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-01T14:23:28.000+0000", "updated": "2020-07-01T14:23:28.000+0000" }, { "id": "455979", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.1.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-07-01T14:57:51.000+0000", "updated": "2020-07-01T14:57:51.000+0000" }, { "id": "456355", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "Fix verified on build 9.1.0.v20200804082025. Closing ticket.", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-08-06T10:52:52.000+0000", "updated": "2020-08-06T10:52:52.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }