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 atlassian.net by Unknown author, 1 year ago
Can not perform this action after onSaveInstanceState
via GitHub by stdying
, 1 year ago
via jobbole.com by Unknown author, 2 years ago
via crashlytics.com by Unknown author, 2 years ago
Can not perform this action after onSaveInstanceState
via wwdiary.com by Unknown author, 2 years ago
Can not perform this action after onSaveInstanceState
via oschina.net by Unknown author, 1 year 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(FragmentManager.java:1493)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1511)
at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:638)
at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:617)
at android.support.v4.app.DialogFragment.show(DialogFragment.java:139)
at org.edx.mobile.base.BaseFragmentActivity.showErrorDialog(BaseFragmentActivity.java:541)
at org.edx.mobile.base.BaseSingleFragmentActivity.onMessage(BaseSingleFragmentActivity.java:125)
at org.edx.mobile.http.ErrorHandlingCallback.onFailure(ErrorHandlingCallback.java:199)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$2.run(ExecutorCallAdapterFactory.java:77)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)

Users with the same issue

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

Write tip

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