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

google.com | 3 weeks 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

    Show dialog some time get "Can not perform this action after onSaveInstanceState"

    Stack Overflow | 4 months ago | shuabing
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  2. 0

    Debug to know issue Can not perform this action after onSaveInstanceState

    Stack Overflow | 4 months ago | Rajesh Tiwari
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android tabHost Crash after going back

    Stack Overflow | 2 years ago | Södy
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  5. 0

    Activity.onBackPressed caused IllegalStateException

    GitHub | 1 year ago | hidroh
    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
    FragmentActivity.onBackPressed
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(SourceFile:1533)
    2. android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(SourceFile:603)
    3. android.support.v4.app.FragmentActivity.onBackPressed(SourceFile:179)
    3 frames
  3. com.syntonic.freeway
    VerificationActivity.onBackPressed
    1. com.syntonic.freeway.android.ui.VerificationActivity.onBackPressed(SourceFile:439)
    1 frame
  4. Android Platform
    Activity.dispatchKeyEvent
    1. android.app.Activity.onKeyUp(Activity.java:2199)
    2. android.view.KeyEvent.dispatch(KeyEvent.java:2664)
    3. android.app.Activity.dispatchKeyEvent(Activity.java:2441)
    3 frames
  5. Android
    PhoneWindow$DecorView.dispatchKeyEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1996)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3909)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3883)
    3. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3416)
    4. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3466)
    5. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3435)
    6. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3542)
    7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3443)
    8. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3599)
    9. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3416)
    10. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3466)
    11. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3435)
    12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3443)
    13. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3416)
    14. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3466)
    15. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3435)
    16. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3575)
    17. android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3759)
    18. android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2056)
    19. android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1750)
    20. android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1741)
    21. android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2033)
    22. android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
    23. android.os.MessageQueue.nativePollOnce(MessageQueue.java)
    24. android.os.MessageQueue.next(MessageQueue.java:138)
    25. android.os.Looper.loop(Looper.java:123)
    26. android.app.ActivityThread.main(ActivityThread.java:5372)
    26 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:970)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:786)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame