java.lang.IllegalStateException

Can not perform this action after onSaveInstanceState

Solutions on the web18419

  • via GitHub by JakeWharton
    , 1 year ago
    Can not perform this action after onSaveInstanceState
  • via GitHub by dmfs
    , 9 months ago
    Can not perform this action after onSaveInstanceState
  • via GitHub by BishopGIS
    , 1 year ago
    Can not perform this action after onSaveInstanceState
  • Stack trace

    • 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 android.support.v4.app.DialogFragment.dismiss(DialogFragment.java:167) at net.osmand.plus.osmedit.EditPoiDialogFragment$14.processResult(EditPoiDialogFragment.java:426) at net.osmand.plus.osmedit.EditPoiDialogFragment$14.processResult(EditPoiDialogFragment.java:406) at net.osmand.plus.osmedit.EditPoiDialogFragment$15.onPostExecute(EditPoiDialogFragment.java:487) at net.osmand.plus.osmedit.EditPoiDialogFragment$15.onPostExecute(EditPoiDialogFragment.java:469) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 8 months ago
    4 times, 8 months ago
    Unknown user
    Once, 11 months ago
    2 times, 1 year ago
    3 times, 1 year ago
    44 more bugmates