{ "id": "137130", "key": "TIMOB-17756", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-09-24T22:06:12.000+0000", "created": "2014-09-24T21:35:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios8" ], "versions": [], "issuelinks": [ { "id": "41572", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "136442", "key": "TIMOB-17713", "fields": { "summary": "iOS8: App crashes after starting using \"open in ..\" from another app", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:16:51.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": "h6.Issue description \r\nThe \"Open In\" function does not work when building an app with Appcelerator and running on iOS8. \r\n\r\nh6.Steps to reproduce\r\n# Install sample app to iOS simulator\r\n# Go to Safari and put this URL: http://www.act.org/compass/sample/pdf/reading.pdf\r\n# The app Opens, Splash Screen appears and quickly crashes.\r\n# Built app on 3.3.0.GA/iOS7 and same sequence launches the app as we expect. \r\n\r\nh6.Crash logs\r\n{code}\r\n[ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'.\r\n[ERROR] Reason:\r\n[ERROR] *** setObjectForKey: object cannot be nil (key: source)\r\n[ERROR] Stack trace:\r\n[ERROR] \r\n[ERROR] 0 CoreFoundation 0x04b80dda __exceptionPreprocess + 154\r\n[ERROR] 1 libobjc.A.dylib 0x04743a97 objc_exception_throw + 44\r\n[ERROR] 2 CoreFoundation 0x04a7419c -[__NSDictionaryM setObject:forKey:] + 940\r\n[ERROR] 3 testOpenIn 0x001ec66e -[TiApp application:openURL:sourceApplication:annotation:] + 318\r\n[ERROR] 4 UIKit 0x01477689 -[UIApplication _applicationOpenURL:payload:] + 323\r\n[ERROR] 5 UIKit 0x01480eb5 -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:] + 3375\r\n[ERROR] 6 UIKit 0x01485c58 -[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:] + 2295\r\n[ERROR] 7 UIKit 0x01485015 __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 190\r\n[ERROR] 8 UIKit 0x01484f4f -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 384\r\n[ERROR] 9 UIKit 0x0146c526 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 513\r\n[ERROR] 10 FrontBoardServices 0x084da475 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 71\r\n[ERROR] 11 FrontBoardServices 0x084da1ef __40-[FBSSceneImpl _performDelegateCallOut:]_block_invoke + 54\r\n[ERROR] 12 FrontBoardServices 0x084ee425 __31-[FBSSerialQueue performAsync:]_block_invoke + 26\r\n[ERROR] 13 CoreFoundation 0x04aa47a0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16\r\n[ERROR] 14 CoreFoundation 0x04a9a0b3 __CFRunLoopDoBlocks + 195\r\n[ERROR] 15 CoreFoundation 0x04a99f0b __CFRunLoopRun + 2715\r\n[ERROR] 16 CoreFoundation 0x04a991ab CFRunLoopRunSpecific + 443\r\n[ERROR] 17 CoreFoundation 0x04a98fdb CFRunLoopRunInMode + 123\r\n[ERROR] 18 GraphicsServices 0x0514824f GSEventRunModal + 192\r\n[ERROR] 19 GraphicsServices 0x0514808c GSEventRun + 104\r\n[ERROR] 20 UIKit 0x0146ee16 UIApplicationMain + 1526\r\n[ERROR] 21 testOpenIn 0x00017778 main + 456\r\n[ERROR] 22 libdyld.dylib 0x05436ac9 start + 1\r\n[ERROR] \r\n[ERROR] 2014-09-24 16:28:24.521 testOpenIn[72919:561604] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: source)'\r\n[ERROR] *** First throw call stack:\r\n[ERROR] ( \r\n[ERROR] 0 CoreFoundation 0x04b80df6 __exceptionPreprocess + 182\r\n[ERROR] 1 libobjc.A.dylib 0x04743a97 objc_exception_throw + 44\r\n[ERROR] 2 CoreFoundation 0x04a7419c -[__NSDictionaryM setObject:forKey:] + 940\r\n[ERROR] 3 testOpenIn 0x001ec66e -[TiApp application:openURL:sourceApplication:annotation:] + 318\r\n[ERROR] 4 UIKit 0x01477689 -[UIApplication _applicationOpenURL:payload:] + 323\r\n[ERROR] 5 UIKit 0x01480eb5 -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:] + 3375\r\n[ERROR] 6 UIKit 0x01485c58 -[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:] + 2295\r\n[ERROR] 7 UIKit 0x01485015 __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 190\r\n[ERROR] 8 UIKit 0x01484f4f -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 384\r\n[ERROR] 9 UIKit 0x0146c526 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 513\r\n[ERROR] 10 FrontBoardServices 0x084da475 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 71\r\n[ERROR] 11 FrontBoardServices 0x084da1ef __40-[FBSSceneImpl _performDelegateCallOut:]_block_invoke + 54\r\n[ERROR] 12 FrontBoardServices 0x084ee425 __31-[FBSSerialQueue performAsync:]_block_invoke + 26\r\n[ERROR] 13 CoreFoundation 0x04aa47a0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16\r\n[ERROR] 14 CoreFoundation 0x04a9a0b3 __CFRunLoopDoBlocks + 195\r\n[ERROR] 15 CoreFoundation 0x04a99f0b __CFRunLoopRun + 2715\r\n[ERROR] 16 CoreFoundation 0x04a991ab CFRunLoopRunSpecific + 443\r\n[ERROR] 17 CoreFoundation 0x04a98fdb CFRunLoopRunInMode + 123\r\n[ERROR] 18 GraphicsServices 0x0514824f GSEventRunModal + 192\r\n[ERROR] 19 GraphicsServices 0x0514808c GSEventRun + 104\r\n[ERROR] 20 UIKit 0x0146ee16 UIApplicationMain + 1526\r\n[ERROR] 21 testOpenIn 0x00017778 main + 456\r\n[ERROR] 22 libdyld.dylib 0x05436ac9 start + 1\r\n[ERROR] ) \r\n[ERROR] libc++abi.dylib: terminating with uncaught exception of type NSException\r\n-- End simulator log ---------------------------------------------------------\r\n{code}\r\n\r\nh6.Details\r\nThis appears to be regression since works on 3.3.0.GA/iOS7 but crashes only on 3.4.0.v20140903121714 though there is no crash on 3.4.0.v20140918202513.\r\n", "attachment": [ { "id": "51586", "filename": "testOpenIn_Appc.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T21:35:09.000+0000", "size": 1880850, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS8: Tapping \"open in\" function in Safari leads to uncaught exception 'NSInvalidArgumentException'", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iOS 8 GM\r\nTiSDK 3.4.0", "comment": { "comments": [ { "id": "325513", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not sure what this means: Crashes only on 3.4.0.v20140903121714 though there is no crash on 3.4.0.v20140918202513. That suggests it's fixed, right?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T21:41:36.000+0000", "updated": "2014-09-24T21:41:36.000+0000" }, { "id": "415104", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:16:51.000+0000", "updated": "2017-03-22T22:16:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }