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 opening Newpipe from Android taskbar (?) when video was opened from the share > background player menu #8494

Closed
5 tasks done
slasherfun opened this issue Jun 9, 2022 · 5 comments
Labels
bug Issue is related to a bug duplicate Issue or discussion is a duplicate of an existing issue or discussion player notification Anything to do with the MediaStyle notification

Comments

@slasherfun
Copy link

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.23.0

Steps to reproduce the bug

Open a video on YouTube app
Select share > Newpipe > Newpipe background player
Wait for the background player to start playing
Open Newpipe from Android "taskbar" (?)
--> Newpipe crashes

Expected behavior

Newpipe not crashing

Actual behavior

Newpipe crashes

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: CA
  • Content Language: fr-CA
  • App Language: fr_CA
  • Service: none
  • Version: 0.23.0
  • OS: Linux Android 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:100)
	at android.app.Activity.onCreatePanelMenu(Activity.java:4087)
	at androidx.fragment.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:287)
	at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:94)
	at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onCreatePanelMenu(AppCompatDelegateImpl.java:3084)
	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:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7697)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)


Affected Android/Custom ROM version

Android 10 / OxygenOs 10

Affected device model

OnePlus 5

Additional information

No response

@slasherfun slasherfun added the bug Issue is related to a bug label Jun 9, 2022
@opusforlife2
Copy link
Collaborator

Can you explain "taskbar" in different words?

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 11, 2022
@slasherfun
Copy link
Author

Yes, the drop down menu on the top of the screen, where you have all the notifications from the different apps.

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 11, 2022
@opusforlife2
Copy link
Collaborator

Ah. That's called the notification shade.

@opusforlife2 opusforlife2 added the player notification Anything to do with the MediaStyle notification label Jun 11, 2022
@litetex litetex changed the title Crash when opening Newpipe from Android taskbar (?) when vidéo was opened from the share > background player menu Crash when opening Newpipe from Android taskbar (?) when video was opened from the share > background player menu Jun 19, 2022
@litetex
Copy link
Member

litetex commented Jun 19, 2022

Duplicate of #8058

Note: The fix was not released yet

@litetex litetex marked this as a duplicate of #8058 Jun 19, 2022
@litetex litetex closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2022
@litetex litetex added the duplicate Issue or discussion is a duplicate of an existing issue or discussion label Jun 19, 2022
@slasherfun
Copy link
Author

Oh OK I thought it was included in the 0.23.0 release, sorry about the duplicate.

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 player notification Anything to do with the MediaStyle notification
Projects
None yet
Development

No branches or pull requests

3 participants