Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Can't access the Fragment View's LifecycleOwner for VectorSettingsPinFragment #957

Closed
Nivann opened this issue Aug 29, 2023 · 0 comments
Labels
android bug Something isn't working

Comments

@Nivann
Copy link

Nivann commented Aug 29, 2023

crash call stack ---------------------------------Element Build : 402080402
Element Version : 2.8.4 [402080402] (G-82fea8db-2023-06-01 19:46:01 +0200)
SDK Version : 1.5.32 (82fea8d)
Phone : SM-A202F
Memory statuses
usedSize 117 MB
freeSize 4 MB
totalSize 121 MB
Thread: main, Exception: java.lang.IllegalStateException: Can't access the Fragment View's LifecycleOwner for VectorSettingsPinFragment{24a3c8} (787b185b-fdbe-454c-8256-cf233a5fcce0 id=0x7f0909ee) when getView() is null i.e., before onCreateView() or after onDestroyView()
at androidx.fragment.app.Fragment.getViewLifecycleOwner(Fragment.java:16)
at im.vector.app.features.settings.VectorSettingsPinFragment.refreshPinCodeStatus(VectorSettingsPinFragment.kt:1)
at im.vector.app.features.settings.VectorSettingsPinFragment.bindPref(VectorSettingsPinFragment.kt:1)
at im.vector.app.features.settings.VectorSettingsBaseFragment.onCreatePreferences(VectorSettingsBaseFragment.kt:8)
at androidx.preference.PreferenceFragmentCompat.onCreate(PreferenceFragmentCompat.java:74)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:22)
at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:51)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:149)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1137)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:82)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:74)
at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:4)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8653)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

User-Agent: "Tchap/2.8.4 (samsung SM-A202F; Android 11; RP1A.200720.012.A202FXXU5CWF2; Flavour GooglePlay; MatrixAndroidSdk2 1.5.32)"
Version: "2.8.4 [402080402] (G-82fea8db-2023-06-01 19:46:01 +0200)"
app_language: "fr_FR"
branch_name: "HEAD"
can_contact: "false"
default_app_language: "fr_FR"
device: "SM-A202F"
device_id: "VSOKDNWCNT"
email: "undefined"
locale: "fr_FR"
matrix_sdk_version: "1.5.32 (82fea8d)"
multi_window: "OFF"
olm_version: "3.2.12 - olm version (3.2.11) - 92769ce-2022-05-30 13:55:34 -0400"
os: "11 (API 30) A202FXXU5CWF2-REL"
server_version: "undefined"
theme: "system"
verbose_log: "OFF"

@Nivann Nivann added bug Something isn't working android labels Aug 29, 2023
@Nivann Nivann closed this as completed Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant