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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by annasoloviova
, 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
via GitHub by elpraga
, 1 year ago
Can not perform this action after onSaveInstanceState
via GitHub by elpraga
, 2 years ago
Can not perform this action after onSaveInstanceState
via GitHub by AndyScherzinger
, 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: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 net.osmand.plus.osmedit.UploadOpenstreetmapPointAsyncTask.onPostExecute(UploadOpenstreetmapPointAsyncTask.java:99)
at net.osmand.plus.osmedit.UploadOpenstreetmapPointAsyncTask.onPostExecute(UploadOpenstreetmapPointAsyncTask.java:15)
at android.os.AsyncTask.finish(AsyncTask.java:631)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5121)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

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

Write tip

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