[Bug] backup import crash
Checklist (Your issue will be automatically closed if you delete this part)
- [×] No "Found a solution for the error you encountered" notification was shown when opening the error report.
- [×] I make sure that there are no existing issues - open or closed - which I could contribute my information to.
- [×] I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
- [×] I have attached the error report in the issue.
Describe the bug
- Channel Groups from import file are missing
- new groups are not displayed or created
- when clicking on sorting groups, a crash occurs
Steps to reproduce the bug above
Device (e.g. Pixel 9 Pro) Blackview A80 Pro, Android 9
Error report (from last point)
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: US
- Content Language: en
- App Language: en
- Service: none
- Version: 3.7.0
- OS: Linux Blackview/A80Pro_EEA/A80Pro:9/PPR1.180610.011/1590393975:user/release-keys 9 - 28
Crash log
io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.util.NoSuchElementException: Array contains no element matching the predicate.
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:718)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:715)
at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onError(LambdaSubscriber.java:79)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.onError(FlowableSubscribeOn.java:102)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableTake$TakeSubscriber.onError(FlowableTake.java:86)
at io.reactivex.rxjava3.internal.util.AtomicThrowable.tryTerminateConsumer(AtomicThrowable.java:94)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.drainLoop(FlowableFlatMapMaybe.java:300)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.drain(FlowableFlatMapMaybe.java:269)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.innerError(FlowableFlatMapMaybe.java:231)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber$InnerObserver.onError(FlowableFlatMapMaybe.java:379)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:51)
at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.onNext(FlowableFlatMapMaybe.java:131)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:402)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:176)
at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:322)
at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.runEager(ExecutorScheduler.java:287)
at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:248)
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)
Caused by: java.util.NoSuchElementException: Array contains no element matching the predicate.
at org.schabi.newpipe.database.Converters.feedGroupIconOf(Converters.kt:1103)
at org.schabi.newpipe.database.feed.dao.FeedGroupDAO_Impl$8.call(FeedGroupDAO_Impl.java:303)
at org.schabi.newpipe.database.feed.dao.FeedGroupDAO_Impl$8.call(FeedGroupDAO_Impl.java:280)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:47)
... 10 more
Additional context
#378
You can't import sorted groups from NewPipe but you should be able to create it manually though.
You can't import sorted groups from NewPipe but you should be able to create it manually though.
Got it, but I need to clarify:
- new groups are don't creates
- there is a typo in the last point, I meant that when tap, an empty moving sorting list of channel groups opens and a crash occurs (~~sorting groups~~ = groups sorting)
So, issue is still relevant
I think there might be some misunderstanding here. This issue describes the problems that occur after importing the NewPipe configuration into PipePipe. If no import is done, these problems would not occur, right?
@InfinityLoop1308 I didn't think to check this, but the test shows a positive answer to the question.
You can't import sorted groups from NewPipe but you should be able to create it manually though.
And about this. In a clean app I can create a channel group, but of course I can't get subscriptions without importing...
...problems that occur after importing the NewPipe configuration into PipePipe...
@InfinityLoop1308 Forgot to clarify. My original backup came from the NewPipe app when I migrated, but it has already been through PipePipe many times, so it belongs to that app rather than upstream.
I can't reproduce the bug on my devices, no matter the backup is from NewPipe or PipePipe.
Can you provide a recording or explain the steps in detail?
Similar behavior was reported in #1018 , but without a detailed step or backup file unfortunately we are unable to find out the cause.
Sorry for the delay. Here is the video you requested. Yes, it has a 'special private' field of view, but believe me, I tap 'Create' there, and Channel Groups Sorting List loads empty, after which it crashes. Also, the current crash log:
https://github.com/user-attachments/assets/9abe4160-c38f-40d6-9358-a8db5cef1cf5
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: US
- Content Language: en
- App Language: en
- Service: none
- Version: 4.3.1
- OS: Linux Blackview/A80Pro_EEA/A80Pro:9/PPR1.180610.011/1590393975:user/release-keys 9 - 28
Crash log
io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.util.NoSuchElementException: Array contains no element matching the predicate.
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:718)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:715)
at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onError(LambdaSubscriber.java:79)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.onError(FlowableSubscribeOn.java:102)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableTake$TakeSubscriber.onError(FlowableTake.java:86)
at io.reactivex.rxjava3.internal.util.AtomicThrowable.tryTerminateConsumer(AtomicThrowable.java:94)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.drainLoop(FlowableFlatMapMaybe.java:300)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.drain(FlowableFlatMapMaybe.java:269)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.innerError(FlowableFlatMapMaybe.java:231)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber$InnerObserver.onError(FlowableFlatMapMaybe.java:379)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:51)
at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableFlatMapMaybe$FlatMapMaybeSubscriber.onNext(FlowableFlatMapMaybe.java:131)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:402)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:176)
at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:322)
at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.runEager(ExecutorScheduler.java:287)
at io.reactivex.rxjava3.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:248)
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)
Caused by: java.util.NoSuchElementException: Array contains no element matching the predicate.
at org.schabi.newpipe.database.Converters.feedGroupIconOf(Converters.kt:1103)
at org.schabi.newpipe.database.feed.dao.FeedGroupDAO_Impl$8.call(FeedGroupDAO_Impl.java:303)
at org.schabi.newpipe.database.feed.dao.FeedGroupDAO_Impl$8.call(FeedGroupDAO_Impl.java:280)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:47)
... 10 more
@JVS-XII Thanks. I believe it is due to a missing icon and it should be fixed now in 4.4.0.
@InfinityLoop1308 Yeah. Thank you!