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

Stack Overflow | Praseed M | 5 months ago
  1. 0

    App crashes when Backbutton pressed with MapFragment inside ViewPager

    Stack Overflow | 5 months ago | Praseed M
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  2. 0

    Action after Camera crash the app

    Stack Overflow | 7 months ago | NiklasZeroZero
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {android.niklasvlach.simplegerman/android.niklasvlach.simplegerman.MainActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  3. 0

    GitHub comment 19#218339508

    GitHub | 7 months ago | jjhesk
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.RuntimeException: Unable to destroy activity {net.kindows.chitchat/net.kindows.chitchat.LoginActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

    GitHub | 6 months ago | dmsherazi
    java.lang.RuntimeException: Unable to destroy activity {net.kindows.chitchat/net.kindows.chitchat.LoginActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  6. 0

    java.lang.RuntimeException: Unable to stop activity {net.kindows.chitchat/net.kindows.chitchat.LoginActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

    GitHub | 6 months ago | dmsherazi
    java.lang.RuntimeException: Unable to stop activity {net.kindows.chitchat/net.kindows.chitchat.LoginActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Can not perform this action after onSaveInstanceState

    at android.support.v4.app.FragmentManagerImpl.checkStateLoss()
  2. Android Support v4
    BackStackRecord.commit
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1493)
    2. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1511)
    3. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:638)
    4. android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:617)
    4 frames
  3. praseed.p6c.tab_test
    MapFrag.onDestroyView
    1. praseed.p6c.tab_test.MapFrag.removeMap(MapFrag.java:216)
    2. praseed.p6c.tab_test.MapFrag.onDestroyView(MapFrag.java:204)
    2 frames
  4. Android Support v4
    FragmentActivity.onDestroy
    1. android.support.v4.app.Fragment.performDestroyView(Fragment.java:2186)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1139)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1234)
    5. android.support.v4.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:2083)
    6. android.support.v4.app.FragmentController.dispatchDestroy(FragmentController.java:244)
    7. android.support.v4.app.FragmentActivity.onDestroy(FragmentActivity.java:368)
    7 frames
  5. Android v7
    AppCompatActivity.onDestroy
    1. android.support.v7.app.AppCompatActivity.onDestroy(AppCompatActivity.java:203)
    1 frame
  6. praseed.p6c.tab_test
    MainActivity.onDestroy
    1. praseed.p6c.tab_test.MainActivity.onDestroy(MainActivity.java:92)
    1 frame
  7. Android Platform
    ActivityThread.performDestroyActivity
    1. android.app.Activity.performDestroy(Activity.java:5291)
    2. android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1112)
    3. android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3618)
    3 frames