Open mahibi opened 1 year ago
i just reproduced this exception when i removed all accounts one after another (for the last one to remove the server was not running). Then the app crashed with the same stacktrace.
After trying to restart the app, for a short time the ServerSelection Screen opens and then crashes with
2023-09-06 17:12:58.712 6079-6163 AccountRemovalWorker com.nextcloud.talk2 E error while trying to delete user
java.lang.NullPointerException: blockingGet(...) must not be null
at com.nextcloud.talk.users.UserManager.deleteUser(UserManager.kt:55)
at com.nextcloud.talk.jobs.AccountRemovalWorker.deleteUser(AccountRemovalWorker.java:208)
at com.nextcloud.talk.jobs.AccountRemovalWorker.deleteAllEntriesForAccountIdentifier(AccountRemovalWorker.java:197)
at com.nextcloud.talk.jobs.AccountRemovalWorker.-$$Nest$mdeleteAllEntriesForAccountIdentifier(Unknown Source:0)
at com.nextcloud.talk.jobs.AccountRemovalWorker$2.onNext(AccountRemovalWorker.java:178)
at com.nextcloud.talk.jobs.AccountRemovalWorker$2.onNext(AccountRemovalWorker.java:150)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onNext(ObservableSubscribeOn.java:58)
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:54)
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38)
at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48)
at io.reactivex.Observable.subscribe(Observable.java:12284)
at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
at io.reactivex.Observable.subscribe(Observable.java:12284)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:608)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
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:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
just one theory how currentUser might become null (was not able yet to reproduce it this way):
from gplay.
currentUser
seems to be null here:but not sure how this can happen as
currentUserProvider.currentUser.blockingGet()
should always return the current user.Nextcloud Talk app version
17.0.0