Skip to content

Instantly share code, notes, and snippets.

@tomwis
Last active Sep 10, 2017
Embed
What would you like to do?
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1411)
at android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1429)
at android.app.BackStackRecord.commitInternal(BackStackRecord.java:687)
at android.app.BackStackRecord.commit(BackStackRecord.java:663)
at md5ce76859aa65b24cad81e5fe030a8bb50.MainActivity.n_onStop(Native Method)
at md5ce76859aa65b24cad81e5fe030a8bb50.MainActivity.onStop(MainActivity.java:56)
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1278)
at android.app.Activity.performStop(Activity.java:6380)
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3497)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3550)
at android.app.ActivityThread.-wrap20(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
at android.os.Handler.dispatchMessage(Handler.java:102)
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment