Can not perform this action after onSaveInstanceState
See original GitHub issueSentry exception -> https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/9508326/?query=is%3Aunresolved
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at androidx.fragment.app.FragmentManager.enqueueAction(FragmentManager.java:6)
at androidx.fragment.app.BackStackRecord.commitInternal(BackStackRecord.java:12)
at androidx.fragment.app.BackStackRecord.commit(BackStackRecord.java:1)
at androidx.fragment.app.DialogFragment.dismissInternal(DialogFragment.java:17)
at androidx.fragment.app.DialogFragment.dismiss(DialogFragment.java:1)
at mozilla.components.feature.prompts.PromptFeature$start$2$invokeSuspend$$inlined$collect$1.emit(Collect.kt:6)
at mozilla.components.support.ktx.kotlinx.coroutines.flow.FlowKt$ifAnyChanged$$inlined$filter$1$2.emit(Collect.kt:15)
at kotlinx.coroutines.flow.FlowKt.emitAllImpl$FlowKt__ChannelsKt
at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:21)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
┆Issue is synchronized with this Jira Task
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Can not perform this action after onSaveInstanceState with ...
Basically I just had to : @Override protected void onSaveInstanceState(Bundle outState) { //No call for super(). Bug on API Level > 11. }...
Read more >Handling IllegalStateException: Can not perform this action ...
When the user change the Location Setting, it will then trigger the call of onResume() again, even after onSaveInstanceState() is called. Hence this...
Read more >IllegalStateException : Cannot perform this action after ...
The main root cause of this exception is that fragment transactions are not allowed after the OnSaveInstanceState of the activity is called.
Read more >IllegalStateException: Can not perform this action after ...
after call of onSaveInstanceState fragment manager cannot apply any transactions. Possible solution: call cleanUp method from onPause, but do ...
Read more >can not perform this action after onsaveinstancestate ...
If the activity's onSaveInstanceState() method has been called, an IllegalStateException will be thrown when you try to show the dialog. You need to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hmm
LoginPicker
isn’t aDialogFragment
though and it was first seen Sept 1 🤔See: https://github.com/mozilla-mobile/fenix/issues/17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.