Skip to content

fix UninitializedPropertyAccessException - #6452

Open
mahibi wants to merge 1 commit into
masterfrom
bugfix/6449/fixUninitializedPropertyAccessException2
Open

fix UninitializedPropertyAccessException#6452
mahibi wants to merge 1 commit into
masterfrom
bugfix/6449/fixUninitializedPropertyAccessException2

Conversation

@mahibi

@mahibi mahibi commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

fix #6449

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5938)   at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:6011)   at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:57)   at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:60)   at android.app.servertransaction.TransactionExecutor.executeLifecycleItem (TransactionExecutor.java:225)   at android.app.servertransaction.TransactionExecutor.executeTransactionItems (TransactionExecutor.java:107)   at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:81)   at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2899)   at android.os.Handler.dispatchMessage (Handler.java:107)   at android.os.Looper.loopOnce (Looper.java:257)
  at android.os.Looper.loop (Looper.java:342)
  at android.app.ActivityThread.main (ActivityThread.java:9638)   at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:619)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:929) Caused by kotlin.UninitializedPropertyAccessException: lateinit property conversationUser has not been initialized   at com.nextcloud.talk.chat.ChatActivity.getConversationUser (ChatActivity.kt:352)   at com.nextcloud.talk.chat.ChatActivity.cancelNotificationsForCurrentConversation (ChatActivity.kt:2727)   at com.nextcloud.talk.chat.ChatActivity.onResume (ChatActivity.kt:1830)   at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1722)   at android.app.Activity.performResume (Activity.java:9533)   at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5908)

🏁 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

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5938)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:6011)
  at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:57)
  at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:60)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleItem (TransactionExecutor.java:225)
  at android.app.servertransaction.TransactionExecutor.executeTransactionItems (TransactionExecutor.java:107)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:81)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2899)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loopOnce (Looper.java:257)
  at android.os.Looper.loop (Looper.java:342)
  at android.app.ActivityThread.main (ActivityThread.java:9638)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:619)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:929)
Caused by kotlin.UninitializedPropertyAccessException: lateinit property conversationUser has not been initialized
  at com.nextcloud.talk.chat.ChatActivity.getConversationUser (ChatActivity.kt:352)
  at com.nextcloud.talk.chat.ChatActivity.cancelNotificationsForCurrentConversation (ChatActivity.kt:2727)
  at com.nextcloud.talk.chat.ChatActivity.onResume (ChatActivity.kt:1830)
  at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1722)
  at android.app.Activity.performResume (Activity.java:9533)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5908)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi
mahibi requested a review from rapterjet2004 August 3, 2026 18:31
@mahibi mahibi self-assigned this Aug 3, 2026
@mahibi mahibi added the 3. to review Waiting for reviews label Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/30841666599/artifacts/8867256283
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)

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.

UninitializedPropertyAccessException in chat

1 participant