[Bug] [NicoNico] Some videos can play, but has error popup
Checklist (Your issue will be automatically closed if you delete this part)
- [X] I make sure that there are no existing issues - open or closed - which I could contribute my information to.
- [X] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed.
- [X] I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
- [X] I have attached the error report in the issue.
Describe the bug Some NicoNico videos can be played, but there will be a popup says error occured.
Frequency Everytime for some videos
Steps to reproduce the bug Open some videos such as https://www.nicovideo.jp/watch/sm44862445 in PipePipe
Error report
Exception
- User Action: requested stream
- Request: https://www.nicovideo.jp/watch/sm44862445
- Content Country: JP
- Content Language: ja
- App Language: zh_CN
- Service: NicoNico (Anonymous)
- Version: 4.2.4
- OS: Linux Android 13 - 33
Exceptions (2)
Crash log 1
org.schabi.newpipe.extractor.exceptions.ParsingException: Could not parse date
at org.schabi.newpipe.extractor.services.niconico.extractors.NiconicoPlaylistContentItemExtractor.getTextualUploadDate(NiconicoPlaylistContentItemExtractor.java:96)
at org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector.extract(StreamInfoItemsCollector.java:62)
at org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector.commit(StreamInfoItemsCollector.java:123)
at org.schabi.newpipe.extractor.services.niconico.extractors.NiconicoStreamExtractor.getRelatedItems(NiconicoStreamExtractor.java:346)
at org.schabi.newpipe.extractor.utils.ExtractorHelper.getRelatedItemsOrLogError(ExtractorHelper.java:48)
at org.schabi.newpipe.extractor.stream.StreamInfo.extractOptionalData(StreamInfo.java:446)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:110)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:88)
at org.schabi.newpipe.util.ExtractorHelper.getNewStreamInfo(ExtractorHelper.java:132)
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: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)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference
at org.schabi.newpipe.extractor.services.niconico.extractors.NiconicoPlaylistContentItemExtractor.getTextualUploadDate(NiconicoPlaylistContentItemExtractor.java:94)
... 35 more
Crash log 2
org.schabi.newpipe.extractor.exceptions.ParsingException: Could not parse date
at org.schabi.newpipe.extractor.services.niconico.extractors.NiconicoPlaylistContentItemExtractor.getTextualUploadDate(NiconicoPlaylistContentItemExtractor.java:96)
at org.schabi.newpipe.extractor.services.niconico.extractors.NiconicoPlaylistContentItemExtractor.getUploadDate(NiconicoPlaylistContentItemExtractor.java:105)
at org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector.extract(StreamInfoItemsCollector.java:67)
at org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector.commit(StreamInfoItemsCollector.java:123)
at org.schabi.newpipe.extractor.services.niconico.extractors.NiconicoStreamExtractor.getRelatedItems(NiconicoStreamExtractor.java:346)
at org.schabi.newpipe.extractor.utils.ExtractorHelper.getRelatedItemsOrLogError(ExtractorHelper.java:48)
at org.schabi.newpipe.extractor.stream.StreamInfo.extractOptionalData(StreamInfo.java:446)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:110)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:88)
at org.schabi.newpipe.util.ExtractorHelper.getNewStreamInfo(ExtractorHelper.java:132)
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: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)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference
at org.schabi.newpipe.extractor.services.niconico.extractors.NiconicoPlaylistContentItemExtractor.getTextualUploadDate(NiconicoPlaylistContentItemExtractor.java:94)
... 36 more
Also encountered the issue several days ago but I can't reproduce it now. Does it still occur on your device?
It seems the issue is gone now. Let me close the issue for now. Will reopen if it happens again.