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

Stack Overflow | dev1993 | 4 months ago
  1. 0

    Fragment activity exception: cannot perform this action after onsaveinstance called

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

    Android tabHost Crash after going back

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

    Crash due to quick Back button press

    Stack Overflow | 4 years ago | Vu An Hoa
    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

    Illegalstateexception when application closed onbackpressed

    Stack Overflow | 3 years ago | faizanjehangir
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  6. 0

    Getting IllegalStateException while coming back without completing a call intent

    Stack Overflow | 4 years ago | DroidBee
    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(FragmentManager.java:1527)
    2. android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:599)
    3. android.support.v4.app.FragmentActivity.onBackPressed(FragmentActivity.java:178)
    3 frames
  3. com.myapp.activities
    ActivityManageContacts.onBackPressed
    1. com.myapp.activities.ActivityManageContacts.onBackPressed(ActivityManageContacts.java:265)
    1 frame
  4. Android Platform
    Activity.dispatchKeyEvent
    1. android.app.Activity.onKeyUp(Activity.java:2465)
    2. android.view.KeyEvent.dispatch(KeyEvent.java:2646)
    3. android.app.Activity.dispatchKeyEvent(Activity.java:2716)
    3 frames
  5. Android v7
    WindowCallbackWrapper.dispatchKeyEvent
    1. android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:533)
    2. android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:53)
    3. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:254)
    4. android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:53)
    4 frames
  6. Android
    PhoneWindow$DecorView.dispatchKeyEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2276)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4038)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4000)
    3. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3562)
    4. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3615)
    5. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3581)
    6. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3698)
    7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3589)
    8. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3755)
    9. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3562)
    10. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3615)
    11. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3581)
    12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3589)
    13. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3562)
    14. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3615)
    15. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3581)
    16. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3731)
    17. android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3892)
    18. android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2208)
    19. android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1849)
    20. android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1840)
    21. android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2185)
    22. android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
    23. android.os.MessageQueue.nativePollOnce(MessageQueue.java)
    24. android.os.MessageQueue.next(MessageQueue.java:143)
    25. android.os.Looper.loop(Looper.java:122)
    26. android.app.ActivityThread.main(ActivityThread.java:5254)
    26 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
    2 frames