Skip to content

fix CancellationException - #6521

Merged
mahibi merged 1 commit into
masterfrom
bugfix/noid/fixCancellationException
Aug 20, 2026
Merged

fix CancellationException#6521
mahibi merged 1 commit into
masterfrom
bugfix/noid/fixCancellationException

Conversation

@mahibi

@mahibi mahibi commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

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

  • 鉀戯笍 Tests (unit and/or integration) are included or not needed
  • 馃敄 Capability is checked or not needed
  • 馃敊 Backport requests are created or not needed: /backport to stable-xx.x
  • 馃搮 Milestone is set
  • 馃尭 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

馃 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

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>
@mahibi
mahibi requested a review from rapterjet2004 August 20, 2026 13:15
@mahibi mahibi self-assigned this Aug 20, 2026
@mahibi mahibi added the 3. to review Waiting for reviews label Aug 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/32373274001/artifacts/9408233941
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@mahibi
mahibi merged commit 7b52ce3 into master Aug 20, 2026
17 of 20 checks passed
@mahibi
mahibi deleted the bugfix/noid/fixCancellationException branch August 20, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant