-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
NewPipe crashes when re-opening a previously played video/livestream due to a NullPointerException #6652
Comments
I had the same error occur on NewPipe 0.21.8 using the same device, when restoring an unlisted YouTube video. NewPipe displayed the video on the lock screen (not playing), so the application was open but not visible. Again it crashed immediately when opened. Note: The crash log is identical apart from the Version field. Exception
Crash log
|
Note that a similar error now starts occurring on https://github.com/TeamNewPipe/NewPipe/blob/v0.21.9/app/src/main/java/org/schabi/newpipe/player/Player.java#L674 There seems to be a shared underlying cause as the error messages are identical. |
Seeing this most of the time with latest version. Kinda fixed if I FC the app and clean cache. On reopen same video just works fine. |
Closing as fixed as no recent reports found for such error. Comment here if case is otherwise and I will reopen it. |
Checklist
Purpose
This issue is intended to report the NullPointerException that occurs when
player.playqueue.PlayQueueItem.getRecoveryPosition()
is invoked, and the logs corresponds to this crash. In the initial report the error occurred after a different crash, which is mentioned for the sake of reproducibility (I did not open an issue for this crash as I did not keep the log).Steps to reproduce the bug
The same error has occurred twice, however I am unable to reproduce the bug following either case. In each case the actions leading up to the crash are listed below:
Re-opening an ended live stream (0.21.5, initial report)
*The live stream was set to upload as video after ending.
Re-opening an unlisted video (0.21.8)
*The unlisted video still exists and was not removed.
Actual behavior
On opening NewPipe, NewPipe immediately crashes and brings up the bug reporting screen. In both cases the crash log is identical except for the Version field (but you can find the more recent log in the comment below).
Expected behavior
The video/livestream is re-opened without an error.
Logs
Error on app open following "Could not play stream" toast message and closing app. Produced on non-root Android Marshmallow. Not logged in.
Exception
Crash log
Device info
The text was updated successfully, but these errors were encountered: