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 jesmrec
, 1 year ago
Can not perform this action after onSaveInstanceState
via GitHub by AndyScherzinger
, 1 year ago
Can not perform this action after onSaveInstanceState
via GitHub by AndyScherzinger
, 1 year ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by nicolas asinovich
, 9 months ago
via Stack Overflow by Jitesh Upadhyay
, 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(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.dismissInternal(DialogFragment.java:201)
at com.owncloud.android.ui.activity.FileActivity.dismissLoadingDialog(FileActivity.java:485)
at com.owncloud.android.ui.activity.FileActivity.onRemoteOperationFinish(FileActivity.java:297)
at com.owncloud.android.ui.activity.ShareActivity.onRemoteOperationFinish(ShareActivity.java:203)
at com.owncloud.android.utils.GetShareWithUsersAsyncTask.onPostExecute(GetShareWithUsersAsyncTask.java:94)
at com.owncloud.android.utils.GetShareWithUsersAsyncTask.onPostExecute(GetShareWithUsersAsyncTask.java:44)
at android.os.AsyncTask.finish(AsyncTask.java:636)
at android.os.AsyncTask.access$500(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5282)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

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.