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

Unable to access non-kid friendly videos #6572

Closed
2 tasks done
JulienGn opened this issue Jun 25, 2021 · 4 comments
Closed
2 tasks done

Unable to access non-kid friendly videos #6572

JulienGn opened this issue Jun 25, 2021 · 4 comments
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)

Comments

@JulienGn
Copy link

Checklist

Steps to reproduce the bug

Search for an age restricted video. I allowed them in my settings

Example of video too borderline for poor YouTube : Misleading Title by DJ S3RL

Actual behaviour

The video data won't load, the previous video will keep running.
`

Expected behavior

Loading my non kid music videos without having to provide my actual ID to YouTube .

Screenshots/Screen recordings

Logs

Exception

Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
	at java.io.StringReader.<init>(StringReader.java:50)
	at com.grack.nanojson.JsonParser$JsonParserContext.from(Unknown Source:6)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.fetchVideoInfoPage(YoutubeStreamExtractor.java:802)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:731)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:54)
	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:115)
	at org.schabi.newpipe.util.-$$Lambda$ExtractorHelper$YTHJjScxCJNO1LTCqs3IKy35iyY.call(Unknown Source:4)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:614)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
	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)


`

Device info

  • Android version/Custom ROM version: Linux Android 9 - 28
  • Device model: Xiaomi 9 Pro
@JulienGn JulienGn added the bug Issue is related to a bug label Jun 25, 2021
@SameenAhnaf
Copy link
Collaborator

Expected to be fixed in next update as TeamNewPipe/NewPipeExtractor#665 is merged.

@AudricV
Copy link
Member

AudricV commented Jul 1, 2021

Duplicate of #6403.

@AudricV AudricV closed this as completed Jul 1, 2021
@AudricV AudricV added duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them) and removed bug Issue is related to a bug labels Jul 1, 2021
@JulienGn
Copy link
Author

JulienGn commented Jul 1, 2021 via email

@edo0
Copy link

edo0 commented Jul 18, 2021

@JulienGn @TiA4f8R
This is again/still broken for me in version 0.21.6 (GitHub Release)
Screenshot_20210718-111307_NewPipe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

4 participants