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

Play Queue screen crashes on split-screen resize #6078

Closed
4 tasks done
boringhexi opened this issue Apr 14, 2021 · 1 comment
Closed
4 tasks done

Play Queue screen crashes on split-screen resize #6078

boringhexi opened this issue Apr 14, 2021 · 1 comment
Labels
bug Issue is related to a bug duplicate Issue or discussion is a duplicate of an existing issue or discussion GUI Issue is related to the graphical user interface

Comments

@boringhexi
Copy link

boringhexi commented Apr 14, 2021

Checklist

Steps to reproduce the bug

  1. Open another app that supports split-screen (e.g. Clock).
  2. Open NewPipe and start a video/playlist/anything.
  3. Go to the NewPipe play queue. To do this, I tap the NewPipe media-playing notification in my notification center.
  4. Enter split-screen with the other app. To do this, I enter the app switcher, tap the icon at the top of the NewPipe app, choose "Split screen", then choose the other app.
  5. At this point, NewPipe should be in split-screen with the other app. Now adjust/resize the border between the two apps, and NewPipe should crash.

Actual behaviour

NewPipe crashes.

Expected behavior

NewPipe should adjust to the size of the split-screen border.

Screenshots/Screen recordings

Screenshot of split-screen before I adjust the split-screen border and cause the crash.

Screenshot_20210414-095502

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 0.21.1
  • OS: Linux motorola/sofia_trac/sofia:10/QPM30.80-63-6-8/a0f3f:user/release-keys 10 - 29
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:4085)
	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.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
	at android.view.Choreographer.doCallbacks(Choreographer.java:790)
	at android.view.Choreographer.doFrame(Choreographer.java:721)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:241)
	at android.app.ActivityThread.main(ActivityThread.java:7617)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)


Device info

  • Android version/Custom ROM version: Android 10
  • Device model: Moto G Power (XT2041DL)
@boringhexi boringhexi added the bug Issue is related to a bug label Apr 14, 2021
@triallax triallax added the GUI Issue is related to the graphical user interface label Jul 18, 2021
@triallax triallax mentioned this issue Jul 18, 2021
4 tasks
@litetex
Copy link
Member

litetex commented Apr 27, 2022

Fixed by #8244

@litetex litetex closed this as completed Apr 27, 2022
@litetex litetex added the duplicate Issue or discussion is a duplicate of an existing issue or discussion label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug duplicate Issue or discussion is a duplicate of an existing issue or discussion GUI Issue is related to the graphical user interface
Projects
None yet
Development

No branches or pull requests

3 participants