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


Solutions on the web

Solution icon of bugzilla
via Xamarin Bugzilla by caanmee, 1 year ago
Can not perform this action after onSaveInstanceState

Solution icon of github
via GitHub by dmfs
, 1 year ago
Can not perform this action after onSaveInstanceState

Solution icon of github
via GitHub by helloworld1
, 5 months ago
Can not perform this action after onSaveInstanceState

Solution icon of github
Can not perform this action after onSaveInstanceState

Solution icon of github
Can not perform this action after onSaveInstanceState

Solution icon of github
Can not perform this action after onSaveInstanceState

Solution icon of github
Can not perform this action after onSaveInstanceState

Solution icon of github
Can not perform this action after onSaveInstanceState

Stack trace

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 android.support.v4.app.FragmentManagerImpl.popBackStack(FragmentManager.java:629)
	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 java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 5 months ago
7 times, 6 months ago
78 times, 7 months ago
44 more bugmates