polymorphicshade / NewPipe

A fork of NewPipe with SponsorBlock functionality.
GNU General Public License v3.0
3.22k stars 106 forks source link

UI crashes when I try to play any video #311

Closed erfirya closed 1 year ago

erfirya commented 1 year ago

Checklist

Affected version

0.25.0

Steps to reproduce the bug

  1. Open newpipe x sponsor block
  2. Tap on a video

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

No response

Logs

Exception

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Activity.runOnUiThread(java.lang.Runnable)' on a null object reference
    at org.schabi.newpipe.fragments.detail.VideoDetailFragment.lambda$handleResult$46(VideoDetailFragment.java:1550)
    at org.schabi.newpipe.fragments.detail.VideoDetailFragment.$r8$lambda$TSo6QiHfELHtkEIc_NXVo32oCuA(VideoDetailFragment.java:0)
    at org.schabi.newpipe.fragments.detail.VideoDetailFragment$$ExternalSyntheticLambda54.run(R8$$SyntheticClass:0)
    at java.lang.Thread.run(Thread.java:1012)


Affected Android/Custom ROM version

Android 13 / crDroid 9.2

Affected device model

Xiaomi POCO X3 NFC

Additional information

No response

polymorphicshade commented 1 year ago

I'm sorry to say this isn't enough information for me. Everything seems to work fine on my end.

I will re-open this issue if you can reproduce this issue with the latest version.