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 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:1489)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1507)
at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
at android.support.v4.app.DialogFragment.dismissInternal(DialogFragment.java:201)
at com.owncloud.android.ui.activity.FileActivity.dismissLoadingDialog(FileActivity.java:934)
at com.owncloud.android.ui.activity.FileActivity.onRemoteOperationFinish(FileActivity.java:753)
at com.owncloud.android.ui.activity.ShareActivity.onRemoteOperationFinish(ShareActivity.java:220)
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:651)
at android.os.AsyncTask.access$500(AsyncTask.java:180)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7225)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

Once, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
3 times, 1 year ago
44 more bugmates

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