Skip to content

UninitializedPropertyAccessException in chat #6449

Description

@mahibi

v24.0.2

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions