-
-
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
The app crashes every time I try to open a video, and it doesn't work with background or popup playback too #4451
Comments
duplicate of #3753 |
Since this user seems to be encountering the error on every try and not just occasionally, it might be a different issue. Could you try the apk from TeamNewPipe/NewPipeExtractor#406 (comment), @asereze? |
I have the exact same issue. Android version/Custom ROM version: LineageOS 17.1 (Android 10.0) |
Just tested with the debug apk and it works :-) |
Tested some more and something intriguing happened. As soon as I imported my subscriptions and settings the debug apk started crashing as well. So I tried uninstalling and reinstalling from F-Droid (at this point I did not import subscriptions and settings), and it worked. Then I tried importing only subscriptions, but not the settings and it continued working. I guess there must be something incompatible in my old settings. |
Oh no. This is another one of the bad migration bugs, then. |
@opusforlife2: Nope, it's most likely the reCAPTCHA cookies that have expired. #4453 adds a button to clear them. The proper solution would be to also store the expiry date and let it expire then. |
I tried it now and it seems to work without any issue! EDIT: If I import subscriptions and settings from the other app the debug one starts crashing as well, like it happened to @safkhet |
@wb9688 This still looks like a migration issue. ^ |
Yes, @Stypox, where is the apk? 🤭 |
Mmmh, I just assume every PR has an uploaded apk... then let's wait for @wb9688 to upload one |
@Stypox: Done now, next time please don't assume… |
Ok, sorry @wb9688 ;-) |
Fixed by the reCAPTCHA PR and the |
Let's ask? @asereze, please test 0.20.1 and confirm whether your issue is fixed. |
Yes, it seems to be working fine, now. Thank you! |
Awesome! Thanks for confirming. |
Checklist
Steps to reproduce the bug
If I try to open a video in NewPipe, any video, the app crashes. If I try to open it in background or in popup playback the app doesn't crash, but the app doesn't manage to open the stream, and it tells me "Could not play this stream".
Logs
Exception
Crash log
org.schabi.newpipe.extractor.exceptions.ParsingException: Could not load decryption code for the Youtube service.
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getPlayerUrl(YoutubeStreamExtractor.java:705)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:655)
at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:56)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:68)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:64)
at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:116)
at org.schabi.newpipe.util.-$$Lambda$ExtractorHelper$5fJcha6Sq5APJBLdG6osaJby-mc.call(Unknown Source:4)
at io.reactivex.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:44)
at io.reactivex.Single.subscribe(Single.java:3666)
at io.reactivex.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
at io.reactivex.Single.subscribe(Single.java:3666)
at io.reactivex.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
at io.reactivex.Maybe.subscribe(Maybe.java:4290)
at io.reactivex.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
at io.reactivex.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
at io.reactivex.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
at io.reactivex.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
at io.reactivex.Flowable.subscribe(Flowable.java:14935)
at io.reactivex.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
at io.reactivex.Maybe.subscribe(Maybe.java:4290)
at io.reactivex.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
at io.reactivex.Single.subscribe(Single.java:3666)
at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getPlayerUrl(YoutubeStreamExtractor.java:700)
... 30 more
Device info
The text was updated successfully, but these errors were encountered: