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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by devashishmamgain
, 2 years ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by karate
, 1 year ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by Mayur More
, 2 years ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by Herry
, 2 years ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by jackdh
, 1 year ago
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1533)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1551)
at com.myapp.HomeActivity.removeAllBackEntries(HomeActivity.java:189)
at com.myapp.HomeActivity.onClickMyOrder(HomeActivity.java:113)
at com.myapp.HomeActivity.access$300(HomeActivity.java:50)
at com.myapp.HomeActivity$3.onTabSelected(HomeActivity.java:327)
at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.updateItems(AHBottomNavigation.java:527)
at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem(AHBottomNavigation.java:1088)
at com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem(AHBottomNavigation.java:1072)
at com.myapp.HomeActivity.onClickonPostOrderSuccess(HomeActivity.java:522)
at com.myapp.order.OrderNowActivity$10.onClick(OrderNowActivity.java:427)
at android.view.View.performClick(View.java:5198)
at android.view.View$PerformClick.run(View.java:21147)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

Users with the same issue

Once, 8 months ago
7 times, 9 months ago
78 times, 10 months ago
Once, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.