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

GitHub | teau01 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Displaying Confirm AcrUserDialog when app is in background, throws error

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

    Getting IllegalStateException from UserDialogsImpl.ShowDialog

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

    IllegalStateException while showing DialogFragment after back from AppCompatActivity

    Stack Overflow | 11 months ago | bendaf
    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

    GoogleApiAvailability crash my app when SupportErrorDialogFragment has to show up

    Stack Overflow | 5 months ago | Lior
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  6. 0

    GitHub comment 55#258181140

    GitHub | 5 months ago | tiwanari
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.pileproject.drive.nxt/com.pileproject.drive.execution.ExecutionActivity}: 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.show
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1493)
    2. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1511)
    3. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:638)
    4. android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:617)
    5. android.support.v4.app.DialogFragment.show(DialogFragment.java:139)
    5 frames
  3. mono.java.lang
    RunnableImplementor.run
    1. mono.java.lang.RunnableImplementor.n_run(Native Method)
    2. mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:135)
    4. android.app.ActivityThread.main(ActivityThread.java:5254)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames