{ "id": "164081", "key": "TIMOB-24055", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-26T21:52:11.000+0000", "created": "2016-10-19T21:13:19.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-6.0.0", "regression" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [ { "id": "53157", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "162041", "key": "TIMOB-23677", "fields": { "summary": "Android: GCM is eventually being deprecated for FCM", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-27T19:48:02.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": "*This is a regression.*\r\n\r\nh5.Steps to reproduce:\r\n1. Use the example app in the cloud module to check for push.\r\n2. Make sure you are setup properly for push notifications.\r\n3. Build the app for android device.\r\n4. After the app launches login/create a user.\r\n5. Go to Push Notifications -> Setting For This Device -> Enable. \r\n6. Click on Enable.\r\n\r\nh5.Actual Results:\r\n1. The app crashes with logs:\r\n{code}\r\n[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.\r\n[DEBUG] : D/com.appcelerator.aps.CCPushService: Got GCM SenderID from ACS: 533264433538\r\n[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.\r\n[DEBUG] : D/com.appcelerator.aps.CCPushService: GCM RegistrationId not found. Need to make request to generate.\r\n[ERROR] : TiApplication: (AsyncTask #4) [1225,31044] Sending event: exception on thread: AsyncTask #4 msg:java.lang.RuntimeException: An error occurred while executing doInBackground(); Titanium 6.0.0,2016/10/19 09:10,undefined\r\n[ERROR] : TiApplication: java.lang.RuntimeException: An error occurred while executing doInBackground()\r\n[ERROR] : TiApplication: \tat android.os.AsyncTask$3.done(AsyncTask.java:309)\r\n[ERROR] : TiApplication: \tat java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)\r\n[ERROR] : TiApplication: \tat java.util.concurrent.FutureTask.setException(FutureTask.java:223)\r\n[ERROR] : TiApplication: \tat java.util.concurrent.FutureTask.run(FutureTask.java:242)\r\n[ERROR] : TiApplication: \tat android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)\r\n[ERROR] : TiApplication: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\r\n[ERROR] : TiApplication: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\r\n[ERROR] : TiApplication: \tat java.lang.Thread.run(Thread.java:818)\r\n[ERROR] : TiApplication: Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/iid/zzc;\r\n[ERROR] : TiApplication: \tat com.google.android.gms.gcm.GoogleCloudMessaging.zzde(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.gcm.GoogleCloudMessaging.register(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.appcelerator.aps.CCPushService$3.doInBackground(CCPushService.java:393)\r\n[ERROR] : TiApplication: \tat com.appcelerator.aps.CCPushService$3.doInBackground(CCPushService.java:384)\r\n[ERROR] : TiApplication: \tat android.os.AsyncTask$2.call(AsyncTask.java:295)\r\n[ERROR] : TiApplication: \tat java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n[ERROR] : TiApplication: \t... 4 more\r\n[ERROR] : TiApplication: Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.google.android.gms.iid.zzc\" on path: DexPathList[[zip file \"/data/app/com.app.cloudpushprod-1/base.apk\"],nativeLibraryDirectories=[/data/app/com.app.cloudpushprod-1/lib/arm, /data/app/com.app.cloudpushprod-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]\r\n[ERROR] : TiApplication: \tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\n[ERROR] : TiApplication: \tat java.lang.ClassLoader.loadClass(ClassLoader.java:511)\r\n[ERROR] : TiApplication: \tat java.lang.ClassLoader.loadClass(ClassLoader.java:469)\r\n[ERROR] : TiApplication: \t... 10 more\r\n[ERROR] : TiApplication: \tSuppressed: java.lang.ClassNotFoundException: com.google.android.gms.iid.zzc\r\n[ERROR] : TiApplication: \t\tat java.lang.Class.classForName(Native Method)\r\n[ERROR] : TiApplication: \t\tat java.lang.BootClassLoader.findClass(ClassLoader.java:781)\r\n[ERROR] : TiApplication: \t\tat java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\r\n[ERROR] : TiApplication: \t\tat java.lang.ClassLoader.loadClass(ClassLoader.java:504)\r\n[ERROR] : TiApplication: \t\t... 11 more\r\n[ERROR] : TiApplication: \tCaused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available\r\n[DEBUG] : OpenGLRenderer: endAllStagingAnimators on 0x9d291b80 (RippleDrawable) with handle 0xb4cffa80\r\n[DEBUG] : Window: Window is closed normally.\r\n{code}\r\n\r\nh5.Expected Results:\r\n1. The app should not crash when push notifications are enabled.\r\n", "attachment": [], "flagged": false, "summary": "Android: Enabling push notifications crashes the app with latest 6.0.0.v20161019091022", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.8.0.201610171310\r\nTi SDK : 6.0.0.v20161019091022\r\nTi CLI : 5.0.10\r\nAlloy : 1.9.3\r\nMAC El Capitan : 10.11.6\r\nAppc NPM : 4.2.8-9\r\nAppc CLI : 6.0.0-62\r\nNode: 4.6.0\r\nNexus 6 - Android 6.0.1\r\nEnvironment : production\r\nCloud module: 3.2.11\r\nCloudpush module: 4.0.2", "closedSprints": [ { "id": 741, "state": "closed", "name": "2016 Sprint 22 SDK", "startDate": "2016-10-22T00:02:29.945Z", "endDate": "2016-11-05T00:02:00.000Z", "completeDate": "2016-11-07T04:38:58.335Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "399522", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator-modules/cloudpush/pull/31\r\nhttps://github.com/appcelerator-modules/cloudpush/releases/tag/android-4.0.3", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-20T20:03:26.000+0000", "updated": "2016-10-20T20:17:11.000+0000" }, { "id": "399544", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews], Dexer fails with cloudpush module 4.0.3\r\n{code}\r\n[ERROR] : Failed to run dexer:\r\n[ERROR] : \r\n[ERROR] : PARSE ERROR:\r\n[ERROR] : class name (com/google/android/gms/iid/InstanceID) does not match path (com/google/android/iid/InstanceID.class)\r\n[ERROR] : ...while parsing com/google/android/iid/InstanceID.class\r\n[ERROR] : 1 error; aborting\r\n{code}", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-20T23:58:06.000+0000", "updated": "2016-10-20T23:58:06.000+0000" }, { "id": "399654", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lchoudhary] What device and Android version are you using?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-24T06:54:31.000+0000", "updated": "2016-10-24T06:54:31.000+0000" }, { "id": "399744", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews], Nexus 6 running android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-25T00:23:38.000+0000", "updated": "2016-10-25T00:23:38.000+0000" }, { "id": "399880", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lchoudhary] Updated {{4.0.3}}: https://github.com/appcelerator-modules/cloudpush/releases/tag/android-4.0.3\r\n\r\nIt works on my Galaxy S7", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-26T19:22:31.000+0000", "updated": "2016-10-26T19:22:59.000+0000" }, { "id": "399889", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews], I checked with fixed 4.0.3 module mentioned in the above comment & I do not see any crash.\r\nPlease resolve the ticket so that it can be closed.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-26T20:16:03.000+0000", "updated": "2016-10-26T20:16:03.000+0000" }, { "id": "399955", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with the updated cloudpush module 4.0.3 & no crash are seen when push notifications as enabled.\r\n\r\nClosing.\r\n\r\nAppc Studio : 4.8.0.201610171310\r\nSDK Version : 6.0.0.v20161026195651\r\nMac OS Version : 10.11.6\r\nXcode Version : Xcode 8.0 Build version 8A218a\r\nAppc CLI AND Appc NPM : {\"NPM\":\"4.2.7\",\"CLI\":\"6.0.0-67\"}\r\nTi CLI : 5.0.10\r\nAlloy : 1.9.4\r\nNode : v4.6.0\r\nNexus 6 running 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-27T19:47:44.000+0000", "updated": "2016-10-27T19:47:44.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }