Skip to content

Bugfix/6449/fix uninitialized property access exception - #6450

Closed
mahibi wants to merge 2 commits into
masterfrom
bugfix/6449/fixUninitializedPropertyAccessException
Closed

Bugfix/6449/fix uninitialized property access exception#6450
mahibi wants to merge 2 commits into
masterfrom
bugfix/6449/fixUninitializedPropertyAccessException

Conversation

@mahibi

@mahibi mahibi commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

fix #6449

🏁 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

mahibi added 2 commits August 3, 2026 17:12
Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:5011)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:5256)
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:127)
  at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem (TransactionExecutor.java:189)
  at android.app.servertransaction.TransactionExecutor.executeTransactionItems (TransactionExecutor.java:124)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:90)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:3362)
  at android.os.Handler.dispatchMessage (Handler.java:118)
  at android.os.Looper.loopOnce (Looper.java:237)
  at android.os.Looper.loop (Looper.java:325)
  at android.app.ActivityThread.main (ActivityThread.java:10427)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:635)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:970)
Caused by java.lang.NullPointerException:
  at com.nextcloud.talk.contacts.ContactsViewModel.<init> (ContactsViewModel.kt:56)
  at com.nextcloud.talk.application.DaggerNextcloudTalkApplicationComponent$NextcloudTalkApplicationComponentImpl.contactsViewModel (DaggerNextcloudTalkApplicationComponent.java:758)
  at com.nextcloud.talk.application.DaggerNextcloudTalkApplicationComponent$NextcloudTalkApplicationComponentImpl.injectConversationsListActivity (DaggerNextcloudTalkApplicationComponent.java:1415)
  at com.nextcloud.talk.application.DaggerNextcloudTalkApplicationComponent$NextcloudTalkApplicationComponentImpl.inject (DaggerNextcloudTalkApplicationComponent.java:961)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.onCreate (ConversationsListActivity.kt:189)
  at android.app.Activity.performCreate (Activity.java:9492)
  at android.app.Activity.performCreate (Activity.java:9444)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1540)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4990)

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

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/30830970375/artifacts/8863406186
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 closed this Aug 3, 2026
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