{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK/issues/88","repository_url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK","labels_url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK/issues/88/comments","events_url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK/issues/88/events","html_url":"https://github.com/Microsoft/EmbeddedSocial-Android-SDK/issues/88","id":315948178,"node_id":"MDU6SXNzdWUzMTU5NDgxNzg=","number":88,"title":"IllegalStateException in onTokenRequestCompleted()","user":{"login":"barbeau","id":928045,"node_id":"MDQ6VXNlcjkyODA0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/928045?v=4","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"labels":[{"id":333017658,"node_id":"MDU6TGFiZWwzMzMwMTc2NTg=","url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-19T16:19:11Z","updated_at":"2018-06-21T14:42:48Z","closed_at":null,"author_association":"COLLABORATOR","body":"From the OneBusAway Android rollout via the Android Developer Console - affecting 3 users (3 crashes):\r\n\r\n~~~\r\njava.lang.IllegalStateException: \r\n  at android.support.v4.app.Fragment.getResources (Fragment.java:608)\r\n  at android.support.v4.app.Fragment.getString (Fragment.java:632)\r\n  at com.microsoft.embeddedsocial.c.d$1.onTokenRequestCompleted (Unknown Source:30)\r\n  at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute (AuthorizationService.java:308)\r\n  at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute (AuthorizationService.java:238)\r\n  at android.os.AsyncTask.finish (AsyncTask.java:695)\r\n  at android.os.AsyncTask.-wrap1 (Unknown Source)\r\n  at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:712)\r\n  at android.os.Handler.dispatchMessage (Handler.java:105)\r\n  at android.os.Looper.loop (Looper.java:164)\r\n  at android.app.ActivityThread.main (ActivityThread.java:6940)\r\n  at java.lang.reflect.Method.invoke (Native Method)\r\n  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)\r\n  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)\r\n~~~\r\n\r\nI'm assuming this happens when someone tries to log into Embedded Social in the OBA app and then closes it, likely under poor wireless conditions that cause a significant delay in onTokenRequestCompleted() returning.\r\n\r\nDevices affected:\r\n* Samsung Galaxy Note8 (greatqlte), 6144MB RAM, Android 8.0\r\n* Google Pixel 2 (walleye), 4096MB RAM, Android 8.1\r\n* ZTE Blade X Max (stollen), 2048MB RAM, Android 7.1\r\n\r\nNote that the Note 8 and Pixel 2 are affected, so this does affect flagship devices"},"comment":{"url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK/issues/comments/399128438","html_url":"https://github.com/Microsoft/EmbeddedSocial-Android-SDK/issues/88#issuecomment-399128438","issue_url":"https://api.github.com/repos/Microsoft/EmbeddedSocial-Android-SDK/issues/88","id":399128438,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTEyODQzOA==","user":{"login":"barbeau","id":928045,"node_id":"MDQ6VXNlcjkyODA0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/928045?v=4","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T14:42:48Z","updated_at":"2018-06-21T14:42:48Z","author_association":"COLLABORATOR","body":"I opened a new issue for the above NPE at https://github.com/Microsoft/EmbeddedSocial-Android-SDK/issues/94."}}
{"actor":{"display_login":"barbeau"}}