Skip to content

[Bug] UI errorΒ #581

@phlaster

Description

@phlaster

Checklist (Your issue will be automatically closed if you delete this part)

  • [ v ] I make sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [ v ] I am able to reproduce the bug with the latest version.
  • [ v ] I have attached the error report in the issue.

Describe the bug
app crashes after attempt to play video

Steps to reproduce the bug
no specific traits, arbitrary video

Device
Redmi Note 8

Error report

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: FR
  • Content Language: fr
  • App Language: ru
  • Service: none
  • Version: 4.0.1
  • OS: Linux Android 11 - 30
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.YoutubeStreamExtractor.getVideoInfoRenderer(YoutubeStreamExtractor.java:1111)
 at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getVideoPrimaryInfoRenderer(YoutubeStreamExtractor.java:1095)
 at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getName(YoutubeStreamExtractor.java:121)
 at org.schabi.newpipe.extractor.stream.StreamInfo.extractImportantData(StreamInfo.java:120)
 at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:87)
 at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:79)
 at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:127)
 at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(Unknown Source:0)
 at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda5.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: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:923)

Additional context
i'm struggling with the playback since 4.0.0 and even more so since 4.0.1 was rolled, but don't want to add yet another issue as I can relate to the existing ones, that are open (very frustrated to the point, at which I have to watch some vids through my browser). Now happy to catch this NullPointerException.

Do not take my words personally. Before 4.0.0 I had very little complaints about the app. And i love new Backup meny option. Hope, this report is helpful.

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