{ "id": "149516", "key": "AC-1007", "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": "2015-07-15T22:06:54.000+0000", "created": "2015-07-08T01:34:11.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "48383", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "149658", "key": "AC-225", "fields": { "summary": "Android Error: Payload is null! when installing freshly on a device", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:20.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "My android app has push notification functionality. If I do a fresh install, I'll see the following error. This only happens after I upgraded to SDK 4.0.0.\r\n\r\n[ERROR] : APSCloudPush: Payload is null!\r\n[ERROR] : TiApplication: (main) [4889,4889] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.GCMReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference; Titanium 4.0.0,2015/05/18 15:42,9239ff9\r\n[ERROR] : TiApplication: java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.GCMReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference\r\n[ERROR] : TiApplication: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2726)\r\n[ERROR] : TiApplication: at android.app.ActivityThread.access$1700(ActivityThread.java:144)\r\n[ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1449)\r\n[ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:155)\r\n[ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5696)\r\n[ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:372)\r\n[ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)\r\n[ERROR] : TiApplication:\r\n[ERROR] : TiApplication: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference\r\n[ERROR] : TiApplication: at org.json.JSONTokener.nextCleanInternal(JSONTokener.java:116)\r\n[ERROR] : TiApplication: at org.json.JSONTokener.nextValue(JSONTokener.java:94)\r\n[ERROR] : TiApplication: at org.json.JSONObject.(JSONObject.java:156)\r\n[ERROR] : TiApplication: at org.json.JSONObject.(JSONObject.java:173)\r\n[ERROR] : TiApplication: at com.appcelerator.aps.APSCloudPush.showTrayNotification(APSCloudPush.java:347)\r\n[ERROR] : TiApplication: at com.appcelerator.aps.APSCloudPush.receivePayload(APSCloudPush.java:253)\r\n[ERROR] : TiApplication: at com.appcelerator.aps.GCMReceiver.onReceive(GCMReceiver.java:30)\r\n[ERROR] : TiApplication: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2712)\r\n[ERROR] : TiApplication: ... 9 more", "attachment": [], "flagged": false, "summary": "APS Cloud Push - Payload is null", "creator": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 4.0.0 Android 5.0", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }