{"action":"closed","issue":{"url":"https://api.github.com/repos/intercom/intercom-cordova/issues/115","repository_url":"https://api.github.com/repos/intercom/intercom-cordova","labels_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/115/comments","events_url":"https://api.github.com/repos/intercom/intercom-cordova/issues/115/events","html_url":"https://github.com/intercom/intercom-cordova/issues/115","id":187912725,"number":115,"title":"Crash when displaying the conversation list on Android 4.4","user":{"login":"chendo","id":2661,"avatar_url":"https://avatars.githubusercontent.com/u/2661?v=3","gravatar_id":"","url":"https://api.github.com/users/chendo","html_url":"https://github.com/chendo","followers_url":"https://api.github.com/users/chendo/followers","following_url":"https://api.github.com/users/chendo/following{/other_user}","gists_url":"https://api.github.com/users/chendo/gists{/gist_id}","starred_url":"https://api.github.com/users/chendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chendo/subscriptions","organizations_url":"https://api.github.com/users/chendo/orgs","repos_url":"https://api.github.com/users/chendo/repos","events_url":"https://api.github.com/users/chendo/events{/privacy}","received_events_url":"https://api.github.com/users/chendo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-08T06:31:34Z","updated_at":"2016-11-10T14:12:53Z","closed_at":"2016-11-10T14:12:53Z","body":"When attempting to view the conversation list on Android 4.4.2, the app crashes.\r\n\r\n```\r\nE/AndroidRuntime( 7972): java.lang.RuntimeException: Unable to start activity ComponentInfo{au.com.drmedev/io.intercom.android.sdk.activities.IntercomMessengerActivity}: java.lang.NullPointerException\r\nE/AndroidRuntime( 7972):       \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2412)\r\nE/AndroidRuntime( 7972):       \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)\r\nE/AndroidRuntime( 7972):       \tat android.app.ActivityThread.access$900(ActivityThread.java:174)\r\nE/AndroidRuntime( 7972):       \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)\r\nE/AndroidRuntime( 7972):       \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nE/AndroidRuntime( 7972):       \tat android.os.Looper.loop(Looper.java:146)\r\nE/AndroidRuntime( 7972):       \tat android.app.ActivityThread.main(ActivityThread.java:5593)\r\nE/AndroidRuntime( 7972):       \tat java.lang.reflect.Method.invokeNative(Native Method)\r\nE/AndroidRuntime( 7972):       \tat java.lang.reflect.Method.invoke(Method.java:515)\r\nE/AndroidRuntime( 7972):       \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)\r\nE/AndroidRuntime( 7972):       \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)\r\nE/AndroidRuntime( 7972):       \tat dalvik.system.NativeStart.main(Native Method)\r\nE/AndroidRuntime( 7972): Caused by: java.lang.NullPointerException\r\nE/AndroidRuntime( 7972):       \tat io.intercom.android.sdk.inbox.InboxFragment.displayEmptyView(InboxFragment.java:402)\r\nE/AndroidRuntime( 7972):       \tat io.intercom.android.sdk.inbox.InboxFragment.onStateChange(InboxFragment.java:369)\r\nE/AndroidRuntime( 7972):       \tat io.intercom.android.sdk.inbox.InboxFragment.onStateChange(InboxFragment.java:57)\r\nE/AndroidRuntime( 7972):       \tat io.intercom.android.sdk.utilities.ChangeSubscriber.onStateChange(ChangeSubscriber.java:33)\r\nE/AndroidRuntime( 7972):       \tat io.intercom.android.sdk.store.Store.subscribe(Store.java:87)\r\nE/AndroidRuntime( 7972):       \tat io.intercom.android.sdk.store.Store.subscribeToChanges(Store.java:96)\r\nE/AndroidRuntime( 7972):       \tat io.intercom.android.sdk.inbox.InboxFragment.onCreate(InboxFragment.java:124)\r\nE/AndroidRuntime( 7972):       \tat android.support.v4.app.Fragment.performCreate(Fragment.java:2075)\r\nE/AndroidRuntime( 7972):       \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1060)\r\nE/AndroidRuntime( 7972):       \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1295)\r\nE/AndroidRuntime( 7972):       \tat android.support.v4.app.BackStackRecord.run(BackStackRecord.java:801)\r\nE/AndroidRuntime( 7972):       \tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1682)\r\nE/AndroidRuntime( 7972):       \tat android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:388)\r\nE/AndroidRuntime( 7972):       \tat android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:607)\r\nE/AndroidRuntime( 7972):       \tat android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:181)\r\nE/AndroidRuntime( 7972):       \tat android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1177)\r\nE/AndroidRuntime( 7972):       \tat android.app.Activity.performStart(Activity.java:5468)\r\nE/AndroidRuntime( 7972):       \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2385)\r\nE/AndroidRuntime( 7972):       \t... 11 more\r\n```\r\n\r\n## Version info\r\n  - Intercom for Cordova/PhoneGap version: 3.0.16\r\n  - iOS/Android OS version: 4.4.2\r\n  - iOS/Android Device: Samsung GT-I9195\r\n\r\n## Expected behavior\r\n\r\nUser sees conversation list.\r\n\r\n## Actual behavior\r\n\r\nApp crashes on 4.4.2. Same build works fine on 7.0 and 6.0.1.\r\n\r\n## Steps to reproduce\r\n 1. Activate Intercom.\r\n 2. Navigate to conversation list.\r\n"}}
{"actor":{"display_login":"ronocod"}}