{ "id": "130370", "key": "TIMOB-16953", "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": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16272", "description": "2014 Sprint 10 Tooling", "name": "2014 Sprint 10 Tooling", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-23T20:48:33.000+0000", "created": "2014-05-13T18:40:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_android", "qe-manualtest", "regression" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-07T22:13:06.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": "Steps to reproduce:\r\n\r\n1. Import the attached project\r\n2. Build and run on device\r\n\r\nExpected result:\r\nThe app should run fine.\r\n\r\nActual Result:\r\nAt app launch, there is an error:\r\n\r\n{code}\r\n[ERROR] : TiApplication: (main) [369,369] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.webserviceCall/com.webserviceCall.WebservicecallActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020058; Titanium 3.3.0,2014/05/13 11:26,901a4ab\r\n[ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.webserviceCall/com.webserviceCall.WebservicecallActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020058\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.access$600(ActivityThread.java:141)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:137)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:5041)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:511)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)\r\n[ERROR] : TiApplication: \tat dalvik.system.NativeStart.main(Native Method)\r\n[ERROR] : TiApplication: Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f020058\r\n[ERROR] : TiApplication: \tat android.content.res.Resources.getValue(Resources.java:1014)\r\n[ERROR] : TiApplication: \tat android.content.res.Resources.getDrawable(Resources.java:659)\r\n[ERROR] : TiApplication: \tat com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2832)\r\n[ERROR] : TiApplication: \tat com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2875)\r\n[ERROR] : TiApplication: \tat com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:285)\r\n[ERROR] : TiApplication: \tat com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:279)\r\n[ERROR] : TiApplication: \tat android.app.Activity.setContentView(Activity.java:1901)\r\n[ERROR] : TiApplication: \tat android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.java:220)\r\n[ERROR] : TiApplication: \tat android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActivityDelegateICS.java:105)\r\n[ERROR] : TiApplication: \tat android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:81)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:526)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:144)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97)\r\n[ERROR] : TiApplication: \tat android.app.Activity.performCreate(Activity.java:5104)\r\n[ERROR] : TiApplication: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)\r\n[ERROR] : TiApplication: \t... 11 more\r\n{code}\r\n\r\nNote that this works in 3.2.3.GA, but not in 3.3.0", "attachment": [ { "id": "48023", "filename": "webserviceCall.zip", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-13T18:40:54.000+0000", "size": 90834, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Unable to start activity due to Resources 'NotFoundException'", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI: 3.3.0-dev\r\nTitanium_mobile: 3.3.0 (master)", "closedSprints": [ { "id": 107, "state": "closed", "name": "2014 Sprint 10 Tooling", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:27.256Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "305214", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/5689\r\n\r\nTo test, build the attached project for Android emulator. You should be able to build any project as long as you don't have a default.png in the Resources/android folder.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-15T23:55:23.000+0000", "updated": "2014-05-15T23:55:23.000+0000" }, { "id": "305485", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "App runs fine on Android device/emulator and does not throw any error.\r\nVerified on:\r\nOSX: 10.9.2\r\nAppcelerator Studio: 3.3.0.201405161313\r\nTitanium SDK: 3.3.0.v20140516180912\r\nCLI: 3.3.0-alpha2\r\nDevice: Galaxy S5 (v4.4.2), Emulator (v2.3.3)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T10:50:34.000+0000", "updated": "2014-05-19T10:50:34.000+0000" }, { "id": "305528", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "UPDATE! Android changed the analytics database location so you if you run into this error, uninstall the app from your device/emulator and try again.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-19T16:59:51.000+0000", "updated": "2014-05-19T16:59:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }