atahabaki / wordbook-android

An android app for linguists...
https://atahabaki.github.io/wordbook-android/
GNU General Public License v3.0
16 stars 2 forks source link

🐛 Appshortcut Settings Launch Crash #40

Closed atahabaki closed 3 years ago

atahabaki commented 3 years ago
2021-08-25 15:47:24.064 1438-1813/? I/ActivityTaskManager: Displayed dev.atahabaki.wordbook/.ui.WordBookActivity: +3s453ms
2021-08-25 15:47:24.131 19122-19122/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: dev.atahabaki.wordbook, PID: 19122
    java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.MenuItem.setChecked(boolean)' on a null object reference
        at dev.atahabaki.wordbook.ui.WordBookActivity.invokeSuspend(WordBookActivity.kt:82)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at android.os.Handler.handleCallback(Handler.java:883)
        at android.os.Handler.dispatchMessage(Handler.java:100)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit.run(RuntimeInit.java:491)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
2021-08-25 15:47:24.138 1438-5295/? W/ActivityTaskManager:   Force finishing activity dev.atahabaki.wordbook/.ui.WordBookActivity