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

Frequent random crashes when opening video #14

Closed
6 tasks done
RoonMoonlight opened this issue Feb 2, 2024 · 0 comments
Closed
6 tasks done

Frequent random crashes when opening video #14

RoonMoonlight opened this issue Feb 2, 2024 · 0 comments
Labels
🪲 bug Something isn't working

Comments

@RoonMoonlight
Copy link

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • 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.26.1_r2

Steps to reproduce the bug

  1. Play some of videos
  2. Random crashes occurs, related to SponsorBlock

Expected behavior

It should be able to play videos without crashes

Actual behavior

Sometimes the client crashes

Screenshots/Screen recordings

N/A

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 0.26.1_r2
  • OS: Linux Android 14 - 34
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'void org.schabi.newpipe.player.Player.setSponsorBlockMode(org.schabi.newpipe.util.SponsorBlockMode)' on a null object reference
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.lambda$onMetadataUpdate$51(VideoDetailFragment.java:1921)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.$r8$lambda$y7puyGkaa9OmmCWMUbc81ghLLp8(VideoDetailFragment.java:0)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment$$ExternalSyntheticLambda56.accept(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)
	at io.reactivex.rxjava3.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)
	at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:123)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.app.ActivityThread.main(ActivityThread.java:8893)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)


Affected Android/Custom ROM version

Android 14 / One UI 6

Affected device model

Samsung Galaxy S22+

Additional information

N/A

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

No branches or pull requests

2 participants