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

xamarin.com | 3 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

    App resuming results in crash with FormsAppCompatActivity

    Stack Overflow | 1 year ago | Leon Cullens
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  2. 0

    App resuming results in crash with FormsAppCompatActivity — Xamarin Forums

    xamarin.com | 3 months ago
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  3. 0

    Xamarin.Forms 2.1.0-pre5 Released - Page 4 — Xamarin Forums

    xamarin.com | 5 months ago
    java.lang.IllegalStateException: Activity has been destroyed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Xamarin.Forms 2.1.0-pre5 Released - Page 6 — Xamarin Forums

    xamarin.com | 8 months ago
    java.lang.IllegalStateException: Activity has been destroyed
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
    BackStackRecord.commit
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1448)
    2. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1466)
    3. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
    4. android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
    4 frames
  3. md5b60ffeb829f638581ab2bb9b1a7f4f3f
    FormsAppCompatActivity.onRestart
    1. md5b60ffeb829f638581ab2bb9b1a7f4f3f.FormsAppCompatActivity.n_onRestart(Native Method)
    2. md5b60ffeb829f638581ab2bb9b1a7f4f3f.FormsAppCompatActivity.onRestart(FormsAppCompatActivity.java:86)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnRestart(Instrumentation.java:1181)
    2. android.app.Activity.performRestart(Activity.java:5291)
    3. android.app.Activity.performResume(Activity.java:5302)
    4. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2764)
    5. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2803)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5001)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame