{ "id": "78635", "key": "AC-2852", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-09-02T08:24:11.000+0000", "created": "2011-08-01T22:52:47.000+0000", "labels": [ "CoreReceiver", "UrbanAirship", "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:47.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I have included UrbanAirship Android module version 1.1 to my titanium mobile project. First time its works fine. But while booting the emulator Push Service didnt started also its throws an error like\r\n\r\n{code}\r\n08-02 05:26:38.458: WARN/dalvikvm(270): Exception Ljava/lang/NullPointerException; thrown during Lcom/urbanairship/push/PushManager;.\r\n08-02 05:26:38.508: DEBUG/AndroidRuntime(270): Shutting down VM\r\n08-02 05:26:38.508: WARN/dalvikvm(270): threadid=1: thread exiting with uncaught exception (group=0x4001d800)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): (main) [590,1489] Sending event: exception on thread: main msg:java.lang.ExceptionInInitializerError; Titanium 1.7.2,2011/07/21 09:36,97c3689\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): java.lang.ExceptionInInitializerError\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at com.urbanairship.CoreReceiver.onReceive(Unknown Source)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2810)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at android.app.ActivityThread.access$3200(ActivityThread.java:125)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2083)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at android.os.Handler.dispatchMessage(Handler.java:99)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at android.os.Looper.loop(Looper.java:123)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at android.app.ActivityThread.main(ActivityThread.java:4627)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at java.lang.reflect.Method.invokeNative(Native Method)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at java.lang.reflect.Method.invoke(Method.java:521)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at dalvik.system.NativeStart.main(Native Method)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): Caused by: java.lang.NullPointerException\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at com.urbanairship.push.PushManager.(Unknown Source)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): at com.urbanairship.push.PushManager.(Unknown Source)\r\n08-02 05:26:38.517: ERROR/TiUncaughtHandler(270): ... 12 more\r\n{code}\r\n\r\nBut if I open the application means service works. Why this happen. Any suggestion to solve this issue? \r\n\r\n\r\n\r\nhttp://developer.appcelerator.com/question/123588/exceptionininitializererror-at-comurbanairshipcorereceiveronreceiveunknown-source", "attachment": [], "flagged": false, "summary": "ExceptionInInitializerError at at com.urbanairship.CoreReceiver.onReceive(Unknown Source)", "creator": { "name": "karthickt", "key": "karthickt", "displayName": "karthickt", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "karthickt", "key": "karthickt", "displayName": "karthickt", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium SDK version: 1.7.2\r\n* Platform & version: Android 2.x\r\n* Device Details: Android emulator\r\n* Host Operating System: Ubuntu 9.x\r\n* Titanium Studio version: 1.0.2", "comment": { "comments": [ { "id": "161486", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thank you for raising this ticket. In order to progress it, please add the missing information, as per the [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist].\r\n\r\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-02T05:52:54.000+0000", "updated": "2011-08-02T05:52:54.000+0000" }, { "id": "162204", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "karthickt\r\n\r\nThank you for your update. Please note the changes I have made, so you may follow them the next time that you raise a ticket.\r\n\r\nPlease would you include a simple app.js file that demonstrates the way you load and use the module?\r\n\r\nAlso, please add the Titanium SDK build date and hash to the environment field, which you can find in the log on application launch.\r\n\r\nThen I will be happy to move the ticket to the correct project.\r\n\r\nThanks in advance\r\n\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-08T21:17:52.000+0000", "updated": "2011-08-08T21:17:52.000+0000" }, { "id": "164918", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Karthickt, as there has been no response, I am closing this ticket. However, You are welcome to open it again, if you are willing to provide the requested information. Many thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-09-02T08:24:11.000+0000", "updated": "2011-09-02T08:24:11.000+0000" }, { "id": "168227", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-10-07T05:47:57.000+0000", "updated": "2011-10-07T05:47:57.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }