java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

GitHub | jesmrec | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Share by link view + passcode causes a crash

    GitHub | 6 months ago | jesmrec
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  2. 0

    dismiss(DialogFragment) after pause/resume crashes

    GitHub | 6 months ago | AndyScherzinger
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  3. 0

    State handling error - IllegalStateException

    GitHub | 9 months ago | AndyScherzinger
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Beta 20160103: Error I got repeatedly when opening a share dialog (server was busy, no clue if relevant)

    GitHub | 1 year ago | elpraga
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  6. 0

    Reproducable OsmAnd crashes

    GitHub | 9 months ago | annasoloviova
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Can not perform this action after onSaveInstanceState

    at android.support.v4.app.FragmentManagerImpl.checkStateLoss()
  2. Android Support v4
    DialogFragment.dismiss
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1489)
    2. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1507)
    3. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
    4. android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
    5. android.support.v4.app.DialogFragment.dismissInternal(DialogFragment.java:201)
    6. android.support.v4.app.DialogFragment.dismiss(DialogFragment.java:167)
    6 frames
  3. com.owncloud.android
    GetShareWithUsersAsyncTask.onPostExecute
    1. com.owncloud.android.ui.activity.FileActivity.dismissLoadingDialog(FileActivity.java:934)
    2. com.owncloud.android.ui.activity.FileActivity.onRemoteOperationFinish(FileActivity.java:753)
    3. com.owncloud.android.ui.activity.ShareActivity.onRemoteOperationFinish(ShareActivity.java:220)
    4. com.owncloud.android.utils.GetShareWithUsersAsyncTask.onPostExecute(GetShareWithUsersAsyncTask.java:94)
    5. com.owncloud.android.utils.GetShareWithUsersAsyncTask.onPostExecute(GetShareWithUsersAsyncTask.java:44)
    5 frames
  4. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:651)
    2. android.os.AsyncTask.access$500(AsyncTask.java:180)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:158)
    6. android.app.ActivityThread.main(ActivityThread.java:7225)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames