Skip to content

Crash setting user status / message #2911

Description

@AndyScherzinger

This issue respects the following points:

Describe the bug

  1. open account switcher
  2. hit status or message button

Expected behavior

bottom sheet is opening

Notes Android version

main branch

Notes server version

Nextcloud Android version

Nextcloud version

Device

OP13

Android Version

15

App Store

  • Google Play Store
  • F-Droid
  • Huawei App Gallery

Stacktrace

Fragment AccountSwitcherDialog{748349a} (b2e85a70-4e6e-4bd0-a865-1a94e7777af8 tag=AccountSwitcherDialog) did not return a View from onCreateView() or this was called before onCreateView(). (Ask Gemini)
java.lang.IllegalStateException: Fragment AccountSwitcherDialog{748349a} (b2e85a70-4e6e-4bd0-a865-1a94e7777af8 tag=AccountSwitcherDialog) did not return a View from onCreateView() or this was called before onCreateView().
at androidx.fragment.app.Fragment.requireView(Fragment.java:2067)
at it.niedermann.owncloud.notes.accountswitcher.AccountSwitcherDialog.showBottomSheetDialog(AccountSwitcherDialog.java:173)
at it.niedermann.owncloud.notes.accountswitcher.AccountSwitcherDialog.lambda$onCreateDialog$4(AccountSwitcherDialog.java:128)
at it.niedermann.owncloud.notes.accountswitcher.AccountSwitcherDialog.$r8$lambda$dCN2elEkV_3elyK8ivbr94YAoMw(Unknown Source:0)
at it.niedermann.owncloud.notes.accountswitcher.AccountSwitcherDialog$$ExternalSyntheticLambda10.onClick(D8$$SyntheticClass:0)
at android.view.View.performClick(View.java:8119)
at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1345)
at android.view.View.performClickInternal(View.java:8089)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:31935)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loopOnce(Looper.java:288)
at android.os.Looper.loop(Looper.java:393)
at android.app.ActivityThread.main(ActivityThread.java:9564)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1010)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions