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


Solutions on the web

Solution icon of web
Can not perform this action after onSaveInstanceState

Solution icon of stackoverflow
Can not perform this action after onSaveInstanceState

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


Stack trace

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
	at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1448)
	at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1466)
	at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
	at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
	at md5b60ffeb829f638581ab2bb9b1a7f4f3f.FormsAppCompatActivity.n_onRestart(Native Method)
	at md5b60ffeb829f638581ab2bb9b1a7f4f3f.FormsAppCompatActivity.onRestart(FormsAppCompatActivity.java:86)
	at android.app.Instrumentation.callActivityOnRestart(Instrumentation.java:1181)
	at android.app.Activity.performRestart(Activity.java:5291)
	at android.app.Activity.performResume(Activity.java:5302)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2764)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2803)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5001)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
	at dalvik.system.NativeStart.main(Native Method)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
13 times, 9 months ago
Once, 9 months ago
2 times, 10 months ago
49 more bugmates