fix CancellationException - #6521
Merged
Merged
Conversation
app crashed with his error when i returned to chat: Exception in thread "main" java.util.concurrent.CancellationException: Task was cancelled. at com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1590) at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:594) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:555) at com.nextcloud.talk.chat.ChatActivity.onStart$lambda$0(ChatActivity.kt:1386) at com.nextcloud.talk.chat.ChatActivity$$ExternalSyntheticLambda129.run(D8$$SyntheticClass:0) at android.os.Handler.handleCallback(Handler.java:1037) at android.os.Handler.dispatchMessage(Handler.java:108) at android.os.Looper.loopOnce(Looper.java:304) at android.os.Looper.loop(Looper.java:430) at android.app.ActivityThread.main(ActivityThread.java:9345) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:953) Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Contributor
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/32373274001/artifacts/9408233941 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
followup fix to #6396
app crashed with his error when i returned to chat:
Exception in thread "main"
java.util.concurrent.CancellationException: Task was cancelled. at com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1590) at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:594) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:555) at com.nextcloud.talk.chat.ChatActivity.onStart$lambda$0(ChatActivity.kt:1386) at com.nextcloud.talk.chat.ChatActivity$$ExternalSyntheticLambda129.run(D8$$SyntheticClass:0) at android.os.Handler.handleCallback(Handler.java:1037) at android.os.Handler.dispatchMessage(Handler.java:108) at android.os.Looper.loopOnce(Looper.java:304)
at android.os.Looper.loop(Looper.java:430)
at android.app.ActivityThread.main(ActivityThread.java:9345) at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:953)
@rapterjet2004 feel free to check if this needs some other handling than this quickfix
馃弫 Checklist
/backport to stable-xx.x馃 AI (if applicable)