{"action":"opened","issue":{"url":"https://api.github.com/repos/shibafu528/Yukari/issues/165","repository_url":"https://api.github.com/repos/shibafu528/Yukari","labels_url":"https://api.github.com/repos/shibafu528/Yukari/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/shibafu528/Yukari/issues/165/comments","events_url":"https://api.github.com/repos/shibafu528/Yukari/issues/165/events","html_url":"https://github.com/shibafu528/Yukari/issues/165","id":351812078,"node_id":"MDU6SXNzdWUzNTE4MTIwNzg=","number":165,"title":"OAuth認証のコールバック時にクラッシュ","user":{"login":"shibafu528","id":1352154,"node_id":"MDQ6VXNlcjEzNTIxNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1352154?v=4","gravatar_id":"","url":"https://api.github.com/users/shibafu528","html_url":"https://github.com/shibafu528","followers_url":"https://api.github.com/users/shibafu528/followers","following_url":"https://api.github.com/users/shibafu528/following{/other_user}","gists_url":"https://api.github.com/users/shibafu528/gists{/gist_id}","starred_url":"https://api.github.com/users/shibafu528/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shibafu528/subscriptions","organizations_url":"https://api.github.com/users/shibafu528/orgs","repos_url":"https://api.github.com/users/shibafu528/repos","events_url":"https://api.github.com/users/shibafu528/events{/privacy}","received_events_url":"https://api.github.com/users/shibafu528/received_events","type":"User","site_admin":false},"labels":[{"id":945553082,"node_id":"MDU6TGFiZWw5NDU1NTMwODI=","url":"https://api.github.com/repos/shibafu528/Yukari/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1023148136,"node_id":"MDU6TGFiZWwxMDIzMTQ4MTM2","url":"https://api.github.com/repos/shibafu528/Yukari/labels/mastodon","name":"mastodon","color":"3c99dc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/shibafu528/Yukari/milestones/1","html_url":"https://github.com/shibafu528/Yukari/milestone/1","labels_url":"https://api.github.com/repos/shibafu528/Yukari/milestones/1/labels","id":3548905,"node_id":"MDk6TWlsZXN0b25lMzU0ODkwNQ==","number":1,"title":"v2.1","description":"","creator":{"login":"shibafu528","id":1352154,"node_id":"MDQ6VXNlcjEzNTIxNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1352154?v=4","gravatar_id":"","url":"https://api.github.com/users/shibafu528","html_url":"https://github.com/shibafu528","followers_url":"https://api.github.com/users/shibafu528/followers","following_url":"https://api.github.com/users/shibafu528/following{/other_user}","gists_url":"https://api.github.com/users/shibafu528/gists{/gist_id}","starred_url":"https://api.github.com/users/shibafu528/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shibafu528/subscriptions","organizations_url":"https://api.github.com/users/shibafu528/orgs","repos_url":"https://api.github.com/users/shibafu528/repos","events_url":"https://api.github.com/users/shibafu528/events{/privacy}","received_events_url":"https://api.github.com/users/shibafu528/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":10,"state":"open","created_at":"2018-08-06T12:43:50Z","updated_at":"2018-08-18T11:07:09Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-08-18T11:07:09Z","updated_at":"2018-08-18T11:07:09Z","closed_at":null,"author_association":"OWNER","body":"OAuth認証を実施し、コールバックで戻ってきた際にクラッシュ。  \r\nたぶん、OAuthActivity全体でバックエンドサービスの初期化待ちが足りてないんじゃないかな。\r\n\r\n## Logcat\r\n```\r\njava.lang.RuntimeException: Unable to resume activity {shibafu.yukari.alpha/shibafu.yukari.activity.OAuthActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'shibafu.yukari.linkage.ProviderApi shibafu.yukari.service.TwitterService.getProviderApi(int)' on a null object reference\r\n\tat android.app.ActivityThread.performResumeActivity(ActivityThread.java:3103)\r\n\tat android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)\r\n\tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)\r\n\tat android.app.ActivityThread.-wrap11(ActivityThread.java)\r\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)\r\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n\tat android.os.Looper.loop(Looper.java:148)\r\n\tat android.app.ActivityThread.main(ActivityThread.java:5417)\r\n\tat java.lang.reflect.Method.invoke(Native Method)\r\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nCaused by: java.lang.NullPointerException: Attempt to invoke virtual method 'shibafu.yukari.linkage.ProviderApi shibafu.yukari.service.TwitterService.getProviderApi(int)' on a null object reference\r\n\tat shibafu.yukari.activity.OAuthActivity$MastodonOAuthFragment.finishAuthorize(OAuthActivity.kt:563)\r\n\tat shibafu.yukari.activity.OAuthActivity$MastodonOAuthFragment.onResume(OAuthActivity.kt:472)\r\n\tat android.support.v4.app.Fragment.performResume(Fragment.java:2294)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1387)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1569)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1636)\r\n\tat android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2991)\r\n\tat android.support.v4.app.FragmentController.dispatchResume(FragmentController.java:214)\r\n\tat android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:509)\r\n\tat android.support.v4.app.FragmentActivity.onPostResume(FragmentActivity.java:498)\r\n\tat android.support.v7.app.AppCompatActivity.onPostResume(AppCompatActivity.java:172)\r\n\tat android.app.Activity.performResume(Activity.java:6351)\r\n\tat android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)\r\n\t... 10 more\r\n```"}}
{"actor":{"display_login":"shibafu528"}}