You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue contains only one bug. I will open one issue for every bug report I want to file.
Steps to reproduce the bug
Play a video in the background
Multitask away from NewPipe
Wait until it ends
Wait a long time, use the phone for something else, and even not use the phone for some time. (Basically give Android a potential reason to kill the app)
Open Android recents
Resume NewPipe
This bug doesn't happen all the time.
Actual behaviour
I saw an empty playback queue flash once or twice, then I saw the crash dialog.
Expected behavior
It should not crash
Screenshots/Screen recordings
I wasn't able to take a screenshot before I saw the error page
Logs
Exception
User Action: ui error
Request: App crash, UI failure
Content Country: GB
Content Language: en
App Language: en_CA
Service: none
Version: 0.20.11
OS: Linux Android 11 - 30
Crash log
java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.exoplayer2.PlaybackParameters org.schabi.newpipe.player.Player.getPlaybackParameters()' on a null object reference
at org.schabi.newpipe.player.PlayQueueActivity.onCreateOptionsMenu(PlayQueueActivity.java:106)
at android.app.Activity.onCreatePanelMenu(Activity.java:4212)
at androidx.fragment.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:324)
at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:94)
at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onCreatePanelMenu(AppCompatDelegateImpl.java:3070)
at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:94)
at androidx.appcompat.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:456)
at androidx.appcompat.app.ToolbarActionBar$1.run(ToolbarActionBar.java:57)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:233)
at android.app.ActivityThread.main(ActivityThread.java:8010)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
Device info
Android version/Custom ROM version: OP7Pro_O2_BETA_3
Device model: OnePlus 7 Pro
The text was updated successfully, but these errors were encountered:
Checklist
Steps to reproduce the bug
This bug doesn't happen all the time.
Actual behaviour
I saw an empty playback queue flash once or twice, then I saw the crash dialog.
Expected behavior
It should not crash
Screenshots/Screen recordings
I wasn't able to take a screenshot before I saw the error page
Logs
Exception
Crash log
Device info
The text was updated successfully, but these errors were encountered: