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

Stack Overflow | shuabing | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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. 0

    Can not perform this action after onSaveInstanceState ½â¾ö°ì·¨ - ÆäËû×ÛºÏ - ºìºÚÁªÃË

    2cto.com | 2 years ago
    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

    Fragment activity exception: cannot perform this action after onsaveinstance called

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

    onDismiss() not working

    GitHub | 2 months ago | ArslanYasin
    java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
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(FragmentManagerImpl.java)
    2. android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManagerImpl.java)
    3. android.support.v4.app.FragmentActivity.onBackPressed(FragmentActivity.java)
    3 frames
  3. Android Platform
    Activity.dispatchKeyEvent
    1. android.app.Activity.onKeyUp(Activity.java:2531)
    2. android.view.KeyEvent.dispatch(KeyEvent.java:2731)
    3. android.app.Activity.dispatchKeyEvent(Activity.java:2784)
    3 frames
  4. Android v7
    AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent
    1. android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java)
    2. android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java)
    3. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java)
    3 frames
  5. Android
    PhoneWindow$DecorView.dispatchKeyEvent
    1. com.android.internal.policy.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2402)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4659)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4615)
    3. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4110)
    4. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4163)
    5. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4129)
    6. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4293)
    7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4137)
    8. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4350)
    9. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4110)
    10. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4163)
    11. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4129)
    12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4137)
    13. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4110)
    14. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4163)
    15. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4129)
    16. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4326)
    17. android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4496)
    18. android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2330)
    19. android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1934)
    20. android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1925)
    21. android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2307)
    22. android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
    23. android.os.MessageQueue.nativePollOnce(MessageQueue.java)
    24. android.os.MessageQueue.next(MessageQueue.java:328)
    25. android.os.Looper.loop(Looper.java:164)
    26. android.app.ActivityThread.main(ActivityThread.java:5769)
    26 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
    2 frames