Skip to content

[stable-24.0.x] fix UninitializedPropertyAccessException - #6461

Draft
backportbot[bot] wants to merge 1 commit into
stable-24.0.xfrom
backport/6452/stable-24.0.x
Draft

[stable-24.0.x] fix UninitializedPropertyAccessException#6461
backportbot[bot] wants to merge 1 commit into
stable-24.0.xfrom
backport/6452/stable-24.0.x

Conversation

@backportbot

@backportbot backportbot Bot commented Aug 6, 2026

Copy link
Copy Markdown

Backport of #6452

Warning, This backport's changes differ from the original and might be incomplete 鈿狅笍

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

fix UninitializedPropertyAccessException

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>

[skip ci]
@backportbot
backportbot Bot requested review from mahibi and rapterjet2004 August 6, 2026 14:14
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Aug 6, 2026
@backportbot backportbot Bot added this to the 24.0.3 milestone Aug 6, 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.

1 participant