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

Stack Overflow | Ackman | 3 months ago
  1. 0

    Illegal State exception on calling getChildFragmentManager() for BacKstack

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

    MainActivity.loadFragment(): Can not perform this action after onSaveInstanceState

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

    I can not able to perform Fragment popBackStack for clear my Child Fragment

    Stack Overflow | 3 years ago | Herry
    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

    Application crashes in background, when popping a fragment from stack

    Stack Overflow | 2 years ago | Mayur More
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  6. 0

    Application crashes when clicking on a notification if the application is minimized

    Stack Overflow | 2 years ago | Valera Valerianov
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

  1. laszlo.kustra 1 times, last 8 months ago
1 unregistered visitors
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
    FragmentManagerImpl.popBackStack
    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.FragmentManagerImpl.popBackStack(FragmentManager.java:575)
    3 frames
  3. com.ppfa.stdtestca
    MainActivity.onBackPressed
    1. com.ppfa.stdtestca.categories.ui.ocp.OCPGettingPrescriptionFragment.popBackStackMethod(OCPGettingPrescriptionFragment.java:135)
    2. com.ppfa.stdtestca.core.ui.MainActivity.onBackPressed(MainActivity.java:164)
    2 frames
  4. Android Platform
    Activity.dispatchKeyEvent
    1. android.app.Activity.onKeyUp(Activity.java:2725)
    2. android.view.KeyEvent.dispatch(KeyEvent.java:2699)
    3. android.app.Activity.dispatchKeyEvent(Activity.java:3026)
    3 frames
  5. com.bluerock.sapphire
    CompositeWindowCallback.dispatchKeyEvent
    1. com.bluerock.sapphire.util.CompositeWindowCallback.dispatchKeyEvent(CompositeWindowCallback.java:49)
    1 frame
  6. Android
    DecorView.dispatchKeyEvent
    1. com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:317)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4327)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4298)
    3. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3849)
    4. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3902)
    5. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3868)
    6. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3995)
    7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3876)
    8. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4052)
    9. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3849)
    10. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3902)
    11. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3868)
    12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3876)
    13. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3849)
    14. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3902)
    15. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3868)
    16. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4028)
    17. android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4189)
    18. android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2365)
    19. android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1961)
    20. android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1952)
    21. android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2342)
    22. android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
    23. android.os.MessageQueue.nativePollOnce(Native Method)
    24. android.os.MessageQueue.next(MessageQueue.java:323)
    25. android.os.Looper.loop(Looper.java:136)
    26. android.app.ActivityThread.main(ActivityThread.java:6077)
    26 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
    2 frames