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

crash when reopening app #3736

Closed
3 tasks done
gbieging opened this issue May 9, 2023 · 0 comments · Fixed by #3772
Closed
3 tasks done

crash when reopening app #3736

gbieging opened this issue May 9, 2023 · 0 comments · Fixed by #3772
Labels
bug Something isn't working

Comments

@gbieging
Copy link

gbieging commented May 9, 2023

Steps to reproduce

  • Use app normally
  • Do other things for a few hours
  • Reopen app

Expected behavior

App reopens to previous state

Actual behavior

Crash with the stacktrace:

java.lang.NullPointerException
	at com.github.libretube.ui.fragments.CommentsMainFragment.onViewCreated(CommentsMainFragment.kt:64)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:256)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:146)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:58)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:34)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:261)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:146)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:58)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:34)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:261)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:146)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:58)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:34)
	at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:32)
	at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:1)
	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1510)
	at android.app.Activity.performStart(Activity.java:8616)
	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4204)
	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8757)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

LibreTube version

0.14.1

Android version

13

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@gbieging gbieging added the bug Something isn't working label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant