java.lang.NullPointerException: Attempt to invoke virtual method 'boolean org.schabi.newpipe.player.Player.videoPlayerSelected()' on a null object reference
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.onServiceConnected(VideoDetailFragment.java:262)
at org.schabi.newpipe.player.helper.PlayerHolder$PlayerServiceConnection.onServiceConnected(PlayerHolder.java:169)
at android.content.ServiceConnection.onServiceConnected(ServiceConnection.java:75)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2517)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2557)
at android.os.Handler.handleCallback(Handler.java:1070)
at android.os.Handler.dispatchMessage(Handler.java:125)
at android.os.Looper.dispatchMessage(Looper.java:358)
at android.os.Looper.loopOnce(Looper.java:288)
at android.os.Looper.loop(Looper.java:392)
at android.app.ActivityThread.main(ActivityThread.java:10346)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:638)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:972)
Checklist
Describe the bug
Getting this constantly.
Exception
Crash log
Version
5.1.1
Frequency
Often (80-90% of the time)
Device
Galaxy S25 ultra
Steps to reproduce the bug
Watch a video
then go to another video
Additional context
No response