Skip to content

[Bug] Error Message #2228

@frecklefacedgod

Description

@frecklefacedgod

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Describe the bug

Exception

Crash log

org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get view count
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamInfoItemExtractor.getViewCount(YoutubeStreamInfoItemExtractor.java:483)
	at org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector.extract(StreamInfoItemsCollector.java:72)
	at org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector.commit(StreamInfoItemsCollector.java:123)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeTrendingExtractor.lambda$getInitialPage$19(YoutubeTrendingExtractor.java:185)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeTrendingExtractor.$r8$lambda$ytHY-OYLjusJ8q6BgOmDy4FweQg(Unknown Source:0)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeTrendingExtractor$$ExternalSyntheticLambda16.accept(Unknown Source:6)
	at j$.util.stream.S.accept(Unknown Source:2)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.Iterator$-CC.$default$forEachRemaining(SourceFile:0)
	at j$.util.Iterator$-EL.forEachRemaining(Unknown Source:10)
	at j$.util.X.forEachRemaining(Unknown Source:24)
	at j$.util.stream.W1.forEach(Unknown Source:10)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.stream.T1.accept(SourceFile:0)
	at j$.util.Iterator$-CC.$default$forEachRemaining(SourceFile:0)
	at j$.util.Iterator$-EL.forEachRemaining(Unknown Source:10)
	at j$.util.X.forEachRemaining(Unknown Source:24)
	at j$.util.stream.c.G0(SourceFile:0)
	at j$.util.stream.c.Y0(SourceFile:0)
	at j$.util.stream.T.b0(SourceFile:0)
	at j$.util.stream.c.b1(SourceFile:0)
	at j$.util.stream.Z1.forEachOrdered(SourceFile:0)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeTrendingExtractor.getInitialPage(YoutubeTrendingExtractor.java:185)
	at org.schabi.newpipe.extractor.utils.ExtractorHelper.getItemsPageOrLogError(ExtractorHelper.java:22)
	at org.schabi.newpipe.extractor.kiosk.KioskInfo.getInfo(KioskInfo.java:69)
	at org.schabi.newpipe.extractor.kiosk.KioskInfo.getInfo(KioskInfo.java:54)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getKioskInfo$17(ExtractorHelper.java:291)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$BeXTN4Lv6M6_wnFDgT8l4GGsw7U(Unknown Source:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda8.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.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15868)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	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:644)
	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:317)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1563)
Caused by: java.lang.NumberFormatException: For input string: ""
	at java.lang.Long.parseLong(Long.java:750)
	at java.lang.Long.parseLong(Long.java:863)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamInfoItemExtractor.getViewCount(YoutubeStreamInfoItemExtractor.java:481)
	... 58 more


Version

4.9.2

Frequency

Always (100% of the time)

Device

Pixel 10a

Steps to reproduce the bug

I'm unsure what I did to produce this error. The only two steps I've done are download the app and import my YouTube subscriptions list via csv. file.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions