Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Crash on switching to app #275

Open
1 task done
AaronM04 opened this issue Sep 29, 2024 · 1 comment
Open
1 task done

[BUG] Crash on switching to app #275

AaronM04 opened this issue Sep 29, 2024 · 1 comment
Assignees

Comments

@AaronM04
Copy link

Describe the bug
I hadn't used Gramophone in a while. I switched back to it and saw this stacktrace. Doing the back button caused it to appear again. This can be repeated with same effect. Swiping the app away and coming back to it temporarily fixed the issue.

To Reproduce
Steps to reproduce the behavior:

  1. As described above

Expected behavior
No stacktrace

Screenshots
See stacktrace

Smartphone (please complete the following information):
Gramophone version: 1.0.11.0fc896

Brand: google
Model: Pixel 7a
SDK Level: 34
Thread: main

Time: 2024-09-28 15:54:51

--------- beginning of crash
androidx.startup.StartupException: lateinit property recyclerView has not been initialized
at org.akanework.gramophone.ui.fragments.ArtistSubFragment.onDestroyView(SourceFile:25)
at androidx.fragment.app.FragmentStateManager.destroyFragmentView(SourceFile:65)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(SourceFile:234)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(SourceFile:1213)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(SourceFile:82)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(SourceFile:78)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(SourceFile:67)
at androidx.appcompat.app.AppCompatActivity.onStart$androidx$fragment$app$FragmentActivity(SourceFile:34)
at androidx.appcompat.app.AppCompatActivity.onStart(SourceFile:1)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1706)
at android.app.Activity.performStart(Activity.java:9056)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4029)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:327)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:307)
at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:279)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:150)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2602)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8623)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ExecInit.main(ExecInit.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
  • I will follow the issue format and will add [BUG] to the start of my issue title, and I acknowledge that if I don't follow the format, my issue might get closed without further explanation.
@AaronM04
Copy link
Author

Previously described here: #210 (comment)

However, it is not fixed with the later version.

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

No branches or pull requests

2 participants