java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by erlingfjelstad
, 2 years ago
Can not perform this action after onSaveInstanceState
via GitHub by erlingfjelstad
, 2 years ago
Can not perform this action after onSaveInstanceState
via GitHub by peter9teufel
, 1 year ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by zabware
, 1 year ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by Sergey Zhadan
, 1 year ago
via blogspot.com by Unknown author, 2 years ago
Can not perform this action after onSaveInstanceState
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.support.v4.app.FragmentManagerImpl.checkStateLoss(SourceFile:1493)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(SourceFile:1511)
at android.support.v4.app.BackStackRecord.commitInternal(SourceFile:634)
at com.my.package.ui.activities.LoginActivity.onRegisterClicked(SourceFile:94)
at com.my.package.ui.fragments.LoginFragment1$1.onClick(SourceFile:114)
at android.view.View.performClick(View.java:4278)
at android.view.View$PerformClick.run(View.java:17430)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:5092)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

Once, 7 months ago
7 times, 8 months ago
78 times, 9 months ago
Once, 11 months ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.