{ "id": "169832", "key": "AC-5212", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-09-19T14:13:35.000+0000", "created": "2017-09-19T12:35:25.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-09-19T14:13:35.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When I try to build my apps with SDK 6.2.0.GA, the app crashes and I see alot of the same errors for every image I want to show like the ones below. When I build it again with SDK 6.1.2.GA, I don't have this problem.\r\n\r\n[ERROR] TiDrawableReference: java.io.FileNotFoundException: Resources/images/iconCreateAccount.png\r\n[ERROR] TiDrawableReference: \tat android.content.res.AssetManager.openAsset(Native Method)\r\n[ERROR] TiDrawableReference: \tat android.content.res.AssetManager.open(AssetManager.java:347)\r\n[ERROR] TiDrawableReference: \tat android.content.res.AssetManager.open(AssetManager.java:321)\r\n[ERROR] TiDrawableReference: \tat org.appcelerator.titanium.util.TiFileHelper.openInputStream(TiFileHelper.java:222)\r\n[ERROR] TiDrawableReference: \tat org.appcelerator.titanium.view.TiDrawableReference.getInputStream(TiDrawableReference.java:863)\r\n[ERROR] TiDrawableReference: \tat org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:346)\r\n[ERROR] TiDrawableReference: \tat org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:303)\r\n[ERROR] TiDrawableReference: \tat org.appcelerator.titanium.util.TiLoadImageManager$LoadImageJob.run(TiLoadImageManager.java:128)\r\n[ERROR] TiDrawableReference: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\r\n[ERROR] TiDrawableReference: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\r\n[ERROR] TiDrawableReference: \tat java.lang.Thread.run(Thread.java:761)\r\n[WARN] TiDrawableReference: (pool-3-thread-1) [0,3684] Could not open stream to get bitmap\r\n[ERROR] TiDrawableReference: (pool-3-thread-2) [15,3699] Problem opening stream with url /images/MenuIconAbout.png: Resources/images/MenuIconAbout.png\r\n\r\n", "attachment": [], "flagged": false, "summary": "FileNotFoundException for Resources/images when building with SDK 6.2.0.GA for Android", "creator": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.12.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 8.4.0\r\n npm Version = 5.4.2\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n\r\nTitanium SDK\r\n SDK Version = 6.2.0.GA\r\n Target Platform = android", "comment": { "comments": [ { "id": "428087", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~michielve] Thanks for the report! This looks to be the same as TIMOB-25284, could you try the latest 6.2.1 build (appc ti sdk install -b 6_2_X -d) and it should be fixed there!", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-09-19T12:42:28.000+0000", "updated": "2017-09-19T12:42:28.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }