{ "id": "136442", "key": "TIMOB-17713", "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" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-17T01:15:56.000+0000", "created": "2014-09-11T15:33:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8" ], "versions": [], "issuelinks": [ { "id": "41572", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "137130", "key": "TIMOB-17756", "fields": { "summary": "iOS8: Tapping \"open in\" function in Safari leads to uncaught exception 'NSInvalidArgumentException'", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T20:23:41.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": "Using \"Open in ..\" to send a file to my app let my app crashing on opening before the first line of code will be executed.\r\nHere is the log:\r\n\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 0x2b69ae3f + 126\r\n[ERROR] : 1 libobjc.A.dylib 0x3917dc8b objc_exception_throw + 38\r\n[ERROR] : 2 CoreFoundation 0x2b5b8ec3 + 850\r\n[ERROR] : 3 iQ.Suite 0x0021fe59 iQ.Suite + 1396313\r\n[ERROR] : 4 UIKit 0x2ed9d6eb + 278\r\n[ERROR] : 5 UIKit 0x2eda0ea3 + 2082\r\n[ERROR] : 6 UIKit 0x2eda47f7 + 2142\r\n[ERROR] : 7 UIKit 0x2eda3d6b + 118\r\n[ERROR] : 8 UIKit 0x2eda3ced + 360\r\n[ERROR] : 9 UIKit 0x2ed98fd3 + 478\r\n[ERROR] : 10 FrontBoardServices 0x31db21f9 + 40\r\n[ERROR] : 11 FrontBoardServices 0x31dc10e9 + 12\r\n[ERROR] : 12 CoreFoundation 0x2b6615b5 + 12\r\n[ERROR] : 13 CoreFoundation 0x2b660879 + 216\r\n[ERROR] : 14 CoreFoundation 0x2b65f3b3 + 1714\r\n[ERROR] : 15 CoreFoundation 0x2b5ad621 CFRunLoopRunSpecific + 476\r\n[ERROR] : 16 CoreFoundation 0x2b5ad433 CFRunLoopRunInMode + 106\r\n[ERROR] : 17 GraphicsServices 0x329410a9 GSEventRunModal + 136\r\n[ERROR] : 18 UIKit 0x2eb97809 UIApplicationMain + 1440\r\n[ERROR] : 19 iQ.Suite 0x000d2573 iQ.Suite + 30067\r\n[ERROR] : 20 libdyld.dylib 0x396fdaaf + 2\r\n[ERROR] : *** 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] : (0x2b69ae3f 0x3917dc8b 0x2b5b8ec3 0x21fe59 0x2ed9d6eb 0x2eda0ea3 0x2eda47f7 0x2eda3d6b 0x2eda3ced 0x2ed98fd3 0x31db21f9 0x31dc10e9 0x2b6615b5 0x2b660879 0x2b65f3b3 0x2b5ad621 0x2b5ad433 0x329410a9 0x2eb97809 0xd2573 0x396fdaaf)\r\n{code}", "attachment": [ { "id": "51409", "filename": "Alert.PNG", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-18T17:50:39.000+0000", "size": 142444, "mimeType": "image/png" }, { "id": "51187", "filename": "AppDesigner 2014 SVN.zip", "author": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-12T07:43:30.000+0000", "size": 2364644, "mimeType": "application/zip" }, { "id": "51236", "filename": "AppDesigner OpenIn Test.zip", "author": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-13T19:12:11.000+0000", "size": 1827854, "mimeType": "application/zip" }, { "id": "51313", "filename": "Screen Shot 2014-09-16 at 2.01.23 PM.png", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T21:03:56.000+0000", "size": 1823454, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS8: App crashes after starting using \"open in ..\" from another app", "creator": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iPad 4 with iO8", "closedSprints": [ { "id": 219, "state": "closed", "name": "2014 Sprint 19 SDK", "startDate": "2014-09-18T21:06:27.559Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T13:58:58.022Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "323222", "author": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "body": "Example project added. This works on an iOS7 device but not on an iOS8.\r\nTry to \"open in ...\" any file from another app in this app.", "updateAuthor": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-12T07:43:30.000+0000", "updated": "2014-09-12T07:43:30.000+0000" }, { "id": "323513", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you. Is it possible to use a smaller example project? It helps eliminate unrelated issues.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T18:23:51.000+0000", "updated": "2014-09-13T18:23:51.000+0000" }, { "id": "323519", "author": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "body": "New example created from Titanium \"Default Project\".\r\nChanges in app.js:\r\n\r\n{code}\r\nvar fileURL = Ti.App.getArguments();\r\n\r\nalert(fileURL);\r\n\r\nTi.App.addEventListener('resumed', function() {// notice *resumed*\r\n\talert(fileURL);\r\n});\r\n\r\n\r\nChanges in tiapp.xml:\r\nCFBundleDocumentTypes\r\n \r\n \r\n CFBundleTypeIconFiles\r\n \r\n appicon.png\r\n \r\n CFBundleTypeName\r\n Open File in AppName\r\n CFBundleTypeRole\r\n Viewer\r\n LSHandlerRank\r\n Owner\r\n LSItemContentTypes\r\n \r\n public.item\r\n \r\n \r\n \r\n{code}\r\n", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T19:12:11.000+0000", "updated": "2014-09-15T18:23:56.000+0000" }, { "id": "324056", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried to reproduce the issue with the code mentioned above, but could not reproduce. I don't get any crash. The app opens fine for me & I get an alert.\r\n\r\nSee attachment above.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201409131030\r\nTi SDK : 3.4.0.v20140916111716 \r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0-rc2\r\nCLI - 3.4.0-rc3\r\nCode Processor: 1.1.1\r\nxcode 6 gmseed\r\nIpad 4 - IOS 8 Gm Seed", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T21:05:56.000+0000", "updated": "2014-09-17T00:31:39.000+0000" }, { "id": "324122", "author": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "body": "This screen tells me, that you haven't open the app using the \"open in ...\" functionality. This works fine, but try to select a file or attachment from your mail client and open this file in this app. This action causes a crash under iOS 8.\r\nIf the app may working, you see the file url of the file in the inbox.", "updateAuthor": { "name": "graetz", "key": "graetz", "displayName": "Andreas Graetz", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-17T00:25:19.000+0000", "updated": "2014-09-17T00:25:19.000+0000" }, { "id": "324134", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR for master https://github.com/appcelerator/titanium_mobile/pull/6110\r\nPR for 3.4.x https://github.com/appcelerator/titanium_mobile/pull/6111", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-17T01:07:04.000+0000", "updated": "2014-09-17T01:07:04.000+0000" }, { "id": "324136", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Approved.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-17T01:15:56.000+0000", "updated": "2014-09-17T01:15:56.000+0000" }, { "id": "324535", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build:3.4.0.201409161950\r\nTitanium SDK build: 3.4.0.v20140917120000\r\nTitanium CLI, build: 3.4.0-rc4\r\nAlloy: 1.5.0-rc2 \r\nXcode6.0.1\r\niOS Device iPad4 (8.0)\r\n\r\nOpened a pdf file sent via email and opened using an app I had created. The app opened successfully, see attached screenshot for the alert message shown.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-18T17:50:17.000+0000", "updated": "2014-09-18T17:50:17.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }