java lang illegalstateexception at android app fragmentmanagerimpl checkstateloss
Looking in Android source code on what causes this issue gives that flag mStateSaved in FragmentManagerImpl class (instance available in Activity) has value true. checkStateLoss ... 3 at android. java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState. app. java.lang.IllegalStateException: ... Can not perform this action after onSaveInstanceState at android.support.v4.app. Fatal Exception: java.lang.IllegalStateException: ... at android.support.v4.app.FragmentManagerImpl.checkStateLoss(Unknown Source) [android-developers] java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState ... java.lang.IllegalStateException: ... is saved before committing a FragmentTransaction. Summary: From Android Developer Console for staged rollout v2.0.12: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at app. FragmentManagerImpl. FragmentManagerImpl. java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState. Terminating app due to an uncaught exception 'java.lang.IllegalStateException', ... 1 at android.