Skip to content

fix NPE in ConversationCreationActivity - #6518

Merged
mahibi merged 1 commit into
masterfrom
bugfix/noid/fixNpeInConversationCreationActivity
Aug 20, 2026
Merged

fix NPE in ConversationCreationActivity#6518
mahibi merged 1 commit into
masterfrom
bugfix/noid/fixNpeInConversationCreationActivity

Conversation

@mahibi

@mahibi mahibi commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

fix #6517

馃弫 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

also avoid not nullable spreedCapabilities elsewhere in this class.

It may not solve the root cause and may lead to unexpected behavior but at least will not crash.

java.lang.NullPointerException
	at com.nextcloud.talk.conversationcreation.ConversationCreationActivityKt.ConversationCreationScreen$lambda$5(ConversationCreationActivity.kt:230)
	at com.nextcloud.talk.conversationcreation.ConversationCreationActivityKt$$ExternalSyntheticLambda29.invoke(D8$$SyntheticClass:0)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:131)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:52)
	at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$bodyContent$1$1.invoke(Scaffold.kt:163)
	at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$bodyContent$1$1.invoke(Scaffold.kt:163)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@github-actions

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/32354048306/artifacts/9401446519
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 edf868a into master Aug 20, 2026
16 of 20 checks passed
@mahibi
mahibi deleted the bugfix/noid/fixNpeInConversationCreationActivity branch August 20, 2026 13:30
@mahibi

mahibi commented Aug 20, 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.

Crash (NullPointerException) on opening ConversationCreationActivity / ConversationCreationScreen

1 participant