{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/android-sdk/issues/164","labels_url":"https://api.github.com/repos/spotify/android-sdk/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/spotify/android-sdk/issues/164/comments","events_url":"https://api.github.com/repos/spotify/android-sdk/issues/164/events","html_url":"https://github.com/spotify/android-sdk/issues/164","id":117550938,"number":164,"title":"Crash in LoginDialog","user":{"login":"RomainPiel","id":464320,"avatar_url":"https://avatars.githubusercontent.com/u/464320?v=3","gravatar_id":"","url":"https://api.github.com/users/RomainPiel","html_url":"https://github.com/RomainPiel","followers_url":"https://api.github.com/users/RomainPiel/followers","following_url":"https://api.github.com/users/RomainPiel/following{/other_user}","gists_url":"https://api.github.com/users/RomainPiel/gists{/gist_id}","starred_url":"https://api.github.com/users/RomainPiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomainPiel/subscriptions","organizations_url":"https://api.github.com/users/RomainPiel/orgs","repos_url":"https://api.github.com/users/RomainPiel/repos","events_url":"https://api.github.com/users/RomainPiel/events{/privacy}","received_events_url":"https://api.github.com/users/RomainPiel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spotify/android-sdk/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-18T09:53:51Z","updated_at":"2015-12-14T09:38:43Z","closed_at":"2015-12-14T09:38:43Z","body":"I'm not sure how to reproduce this but i'm receiving crashes from the Spotify sdk:\r\n```\r\nFatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.spotify.sdk.android.authentication.LoginActivity}: java.lang.NullPointerException\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2099)\r\n       at android.app.ActivityThread.access$600(ActivityThread.java:145)\r\n       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)\r\n       at android.os.Handler.dispatchMessage(Handler.java:119)\r\n       at android.os.Looper.loop(Looper.java:137)\r\n       at android.app.ActivityThread.main(ActivityThread.java:4873)\r\n       at java.lang.reflect.Method.invokeNative(Method.java)\r\n       at java.lang.reflect.Method.invoke(Method.java:528)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\r\n       at dalvik.system.NativeStart.main(NativeStart.java)\r\nCaused by java.lang.NullPointerException\r\n       at com.spotify.sdk.android.authentication.LoginDialog.<init>(LoginDialog.java:86)\r\n       at com.spotify.sdk.android.authentication.AuthenticationClient.showLoginDialog(AuthenticationClient.java:393)\r\n       at com.spotify.sdk.android.authentication.AuthenticationClient.authenticate(AuthenticationClient.java:356)\r\n       at com.spotify.sdk.android.authentication.LoginActivity.onCreate(LoginActivity.java:53)\r\n       at android.app.Activity.performCreate(Activity.java:5218)\r\n       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\r\n       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2038)\r\n       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2099)\r\n       at android.app.ActivityThread.access$600(ActivityThread.java:145)\r\n       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)\r\n       at android.os.Handler.dispatchMessage(Handler.java:119)\r\n       at android.os.Looper.loop(Looper.java:137)\r\n       at android.app.ActivityThread.main(ActivityThread.java:4873)\r\n       at java.lang.reflect.Method.invokeNative(Method.java)\r\n       at java.lang.reflect.Method.invoke(Method.java:528)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\r\n       at dalvik.system.NativeStart.main(NativeStart.java)\r\n```\r\nIt happens on 4.1.1 and 5.0.2. I also noted that all devices are routed and it seems it was triggered by some sort of monkey runner."},"comment":{"url":"https://api.github.com/repos/spotify/android-sdk/issues/comments/164390098","html_url":"https://github.com/spotify/android-sdk/issues/164#issuecomment-164390098","issue_url":"https://api.github.com/repos/spotify/android-sdk/issues/164","id":164390098,"user":{"login":"kaaes","id":202548,"avatar_url":"https://avatars.githubusercontent.com/u/202548?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaes","html_url":"https://github.com/kaaes","followers_url":"https://api.github.com/users/kaaes/followers","following_url":"https://api.github.com/users/kaaes/following{/other_user}","gists_url":"https://api.github.com/users/kaaes/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaes/subscriptions","organizations_url":"https://api.github.com/users/kaaes/orgs","repos_url":"https://api.github.com/users/kaaes/repos","events_url":"https://api.github.com/users/kaaes/events{/privacy}","received_events_url":"https://api.github.com/users/kaaes/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T09:38:43Z","updated_at":"2015-12-14T09:38:43Z","body":"This should be now fixed. Please let us know if it happens again"}}