java.lang.IllegalStateException

Can not perform this action after onSaveInstanceState

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web380

  • via GitHub by konifar
    ,
  • Stack trace

    • 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.app.Activity.onMenuItemSelected(Activity.java:2919) at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:361) at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:147) at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100) at android.support.v7.widget.ToolbarWidgetWrapper$1.onClick(ToolbarWidgetWrapper.java:194) 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 java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)

    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

    Unknown visitor
    Unknown visitorOnce,
    balajivaishnavbalajivaishnav
    25 times, last one
    Unknown visitor
    Unknown visitorOnce,
    filpgamefilpgame
    13 times, last one
    gamebusterzgamebusterz
    Once,
    49 more bugmates