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 Stack Overflow by IvanP
, 2 years ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by Unknown author, 2 years ago
via zendesk.com by Unknown author, 11 months ago
via Stack Overflow by shuabing
, 11 months ago
via GitHub by slown1
, 1 year ago
via 2cto.com by Unknown author, 2 years ago
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1343)
at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:486)
at android.app.Activity.onKeyUp(Activity.java:2099)
at android.view.KeyEvent.dispatch(KeyEvent.java:2575)
at android.support.v7.ActionBarActivityDelegateICS$WindowCallbackWrapper.dispatchKeyEvent(ActionBarActivityDelegateICS.java:250)
at android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3344)
at android.view.ViewRootImpl.handleFinishedEvent(ViewRootImpl.java:3317)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2464)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

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.