Skip to content

fix UninitializedPropertyAccessException - #6452

Merged
mahibi merged 1 commit into
masterfrom
bugfix/6449/fixUninitializedPropertyAccessException2
Aug 5, 2026
Merged

fix UninitializedPropertyAccessException#6452
mahibi merged 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)

@mahibi
mahibi merged commit 08f7c6d into master Aug 5, 2026
18 of 20 checks passed
@mahibi
mahibi deleted the bugfix/6449/fixUninitializedPropertyAccessException2 branch August 5, 2026 08:13
@mahibi mahibi added this to the 24.1.0 milestone Aug 5, 2026
@mahibi

mahibi commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator Author

/backport to stable-24.0.x

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

3 participants