Skip to content

[Bandcamp] NullPointerException could not load comments #12198

Open
@Kobayashi-996

Description

@Kobayashi-996

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.27.6

Steps to reproduce the bug

I was trying to watch a vedio, and the comments could not be loaded.
The unstable network may be blamed.

Expected behavior

Normally load

Actual behavior

The comments are not loaded.

Screenshots/Screen recordings

Image

Logs

I extracted the related Logcat:

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.jsoup.nodes.Element.attr(java.lang.String)' on a null object reference
 	at org.schabi.newpipe.extractor.services.bandcamp.extractors.BandcampCommentsExtractor.getInitialPage(BandcampCommentsExtractor.java:56)
 	at org.schabi.newpipe.extractor.utils.ExtractorHelper.getItemsPageOrLogError(ExtractorHelper.java:21)
 	at org.schabi.newpipe.extractor.comments.CommentsInfo.getInfo(CommentsInfo.java:48)
 	at org.schabi.newpipe.extractor.comments.CommentsInfo.getInfo(CommentsInfo.java:29)
 	at org.schabi.newpipe.util.ExtractorHelper.lambda$getCommentsInfo$7(ExtractorHelper.java:155)
 	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda1.call(D8$$SyntheticClass:0)
 	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
 	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
 	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
 	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
 	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
 	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
 	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:16144)
 	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
 	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
 	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
 	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
 	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:264)
 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
 	at java.lang.Thread.run(Thread.java:1012)

Affected Android/Custom ROM version

Android 14

Affected device model

Pixel 8

Additional information

No response

Metadata

Metadata

Assignees

Labels

bandcampService, https://bandcamp.com/bugIssue is related to a bugcommentsAnything to do with comments and comment replies under videos/audios

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions