Skip to content

Instantly share code, notes, and snippets.

@tateisu
Created August 18, 2018 12:36
Show Gist options
  • Save tateisu/20fa1ec39d230ff53a8dfd409d71f1f3 to your computer and use it in GitHub Desktop.
Save tateisu/20fa1ec39d230ff53a8dfd409d71f1f3 to your computer and use it in GitHub Desktop.
oAuth認証の承認直後にクラッシュ
Nexus 5 / Android 6.0.1
08-18 21:35:00.797 4152 4152 E AndroidRuntime: FATAL EXCEPTION: main
08-18 21:35:00.797 4152 4152 E AndroidRuntime: Process: ume.e_z2e.mastodon, PID: 4152
08-18 21:35:00.797 4152 4152 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {ume.e_z2e.mastodon/ume.e_z2e.mastodon.Account.LoginActivity}: kotlin.UninitializedPropertyAccessException: lateinit property client has not been initialized
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3103)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: Caused by: kotlin.UninitializedPropertyAccessException: lateinit property client has not been initialized
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at ume.e_z2e.mastodon.Account.LoginActivity.onNewIntent(LoginActivity.kt:124)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1212)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1224)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:2545)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3085)
08-18 21:35:00.797 4152 4152 E AndroidRuntime: ... 10 more
@tateisu
Copy link
Author

tateisu commented Aug 18, 2018

開発者オプションの「アクティビティを保持しない」は試した方がいいぞ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment