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 GuilhE
, 4 months ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by nicolas asinovich
, 9 months ago
via Stack Overflow by Jitesh Upadhyay
, 2 years ago
Can not perform this action after onSaveInstanceState
via Stack Overflow by Varun Bhatia
, 6 months ago
Can not perform this action after onSaveInstanceState E/ConnectivityService( 455): EVENT_NETWORK_INFO_CHANGED from unknown NetworkAgent D/ConnectivityService( 455): setProvNotificationVisibleIntent: E visible=false networkType=0 extraInfo=null
via GitHub by elpraga
, 1 year ago
Can not perform this action after onSaveInstanceState
via GitHub by elpraga
, 2 years ago
Can not perform this action after onSaveInstanceState
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1489)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1507)
at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
at com.owncloud.android.ui.activity.FileDisplayActivity.cleanSecondFragment(FileDisplayActivity.java:463)
at com.owncloud.android.ui.activity.FileDisplayActivity.onBackPressed(FileDisplayActivity.java:819)
at com.owncloud.android.ui.activity.FileDisplayActivity.onOptionsItemSelected(FileDisplayActivity.java:557)
at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:147)
at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)
at android.view.View.performClick(View.java:5226)
at android.view.View$PerformClick.run(View.java:21266)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:168)
at android.app.ActivityThread.main(ActivityThread.java:5845)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)

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.