{ "id": "135363", "key": "TIMOB-17565", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-29T20:57:01.000+0000", "created": "2014-08-26T23:55:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android-l", "module_kitchensink", "qe-manualtest" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-29T20:57:01.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "In KitchenSink, go to Phone -> Photo Gallery. Hit the back button, observe crash\r\n\r\n{code}\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat org.appcelerator.titanium.io.TiFileFactory.createTitaniumFile(TiFileFactory.java:56)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat ti.modules.titanium.media.MediaModule.createDictForImage(MediaModule.java:823)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat ti.modules.titanium.media.MediaModule$1.onResult(MediaModule.java:794)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat org.appcelerator.titanium.util.TiActivitySupportHelper$1.onResult(TiActivitySupportHelper.java:58)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat org.appcelerator.titanium.util.TiActivitySupportHelper.onActivityResult(TiActivitySupportHelper.java:107)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat org.appcelerator.titanium.TiBaseActivity.onActivityResult(TiBaseActivity.java:632)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat android.app.Activity.dispatchActivityResult(Activity.java:5922)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:3422)\r\n08-26 16:54:37.232: E/AndroidRuntime(2664): \t... 10 more\r\n\r\n{code}\r\n\r\nTest should not crash\r\n", "attachment": [], "flagged": false, "summary": "Android-L: KS Phone-> Gallery crashes when backing out of test", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 175, "state": "closed", "name": "2014 Sprint 17 SDK", "startDate": "2014-08-21T22:07:00.000Z", "endDate": "2014-08-30T00:00:00.000Z", "completeDate": "2014-09-02T19:56:25.517Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "320491", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/5990", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-27T00:47:05.000+0000", "updated": "2014-08-27T00:47:05.000+0000" }, { "id": "320838", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nKS does not crash on android L when back button is hit in photogallery.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201408270900\r\nTi SDK : 3.4.0.v20140827165712\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0-dev\r\nCLI - 3.4.0-dev\r\nCode Processor: 1.1.1\r\nNexus 5 - android L preview\r\nAndroid L emulator\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-28T17:54:12.000+0000", "updated": "2014-08-28T17:54:12.000+0000" }, { "id": "321099", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to add tester", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-29T20:56:43.000+0000", "updated": "2014-08-29T20:56:43.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }