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

Null object tried to be parsed as JSON #3237

Closed
ghost opened this issue Mar 17, 2020 · 3 comments
Closed

Null object tried to be parsed as JSON #3237

ghost opened this issue Mar 17, 2020 · 3 comments
Labels
bug Issue is related to a bug user blocked us The issue author has blocked team member(s) youtube Service, https://www.youtube.com/

Comments

@ghost
Copy link

ghost commented Mar 17, 2020

Exception

Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'com.grack.nanojson.JsonObject com.grack.nanojson.JsonObject.getObject(java.lang.String)' on a null object reference
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelExtractor.getPage(YoutubeChannelExtractor.java:200)
	at org.schabi.newpipe.extractor.channel.ChannelInfo.getMoreItems(ChannelInfo.java:53)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getMoreChannelItems$5(ExtractorHelper.java:131)
	at org.schabi.newpipe.util.-$$Lambda$ExtractorHelper$W_-kT4Q2PcaBmHMRES2jl1YH31Y.call(Unknown Source:6)
	at io.reactivex.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:44)
	at io.reactivex.Single.subscribe(Single.java:3438)
	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)


While browsing 'whats new' section, headed to the last video in my channel, then clicked my channel to browse all videos, then scrolled up and down, while browsing down (I guess this time the list gets populated) there was an error, which I've pasted (formatted) above. thanks.
@wb9688
Copy link
Contributor

wb9688 commented Mar 17, 2020

Already fixed in my tabs PR. This happens when YouTube shows a load more button while not actually having more items.

@Stypox
Copy link
Member

Stypox commented Mar 17, 2020

@wb9688 could you open a separate PR? I don't think the tabs pr will be part of 0.19.0, because one big PR is already part of it (not sure though ;-) ).

@Stypox Stypox added bug Issue is related to a bug youtube Service, https://www.youtube.com/ labels Mar 17, 2020
@opusforlife2 opusforlife2 mentioned this issue Oct 10, 2020
10 tasks
@TheAssassin
Copy link
Member

You seem to have blocked Team NewPipe. Therefore, we will close this issue now. If you unblock us, we can reopen the issue.

@TheAssassin TheAssassin added the user blocked us The issue author has blocked team member(s) label Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug user blocked us The issue author has blocked team member(s) youtube Service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants