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

google.com | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error on Release on android

    GitHub | 8 months ago | SimchaShats
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.clearColorFilter()' on a null object reference
  2. 0

    Android - W/AHBottomNavigation: The items list should have at least 3 items

    GitHub | 9 months ago | adamski
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.clearColorFilter()' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 48#214465131

    GitHub | 12 months ago | rmoreira0
    android.content.res.Resources$NotFoundException: File res/drawable/ic_consumo.xml from drawable resource ID #0x7f02007c
  5. 0

    Vector images doesn't work

    GitHub | 1 year ago | victordigio
    android.content.res.Resources$NotFoundException: File res/drawable/bottom_fav.xml from drawable resource ID #0x7f02009c
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
    FragmentManagerImpl.popBackStack
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1533)
    2. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1551)
    3. android.support.v4.app.FragmentManagerImpl.popBackStack(FragmentManager.java:629)
    3 frames
  3. com.myapp
    HomeActivity$3.onTabSelected
    1. com.myapp.HomeActivity.removeAllBackEntries(HomeActivity.java:189)
    2. com.myapp.HomeActivity.onClickMyOrder(HomeActivity.java:113)
    3. com.myapp.HomeActivity.access$300(HomeActivity.java:50)
    4. com.myapp.HomeActivity$3.onTabSelected(HomeActivity.java:327)
    4 frames
  4. com.aurelhubert.ahbottomnavigation
    AHBottomNavigation.setCurrentItem
    1. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.updateItems(AHBottomNavigation.java:527)
    2. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem(AHBottomNavigation.java:1088)
    3. com.aurelhubert.ahbottomnavigation.AHBottomNavigation.setCurrentItem(AHBottomNavigation.java:1072)
    3 frames
  5. com.myapp
    HomeActivity.onClickonPostOrderSuccess
    1. com.myapp.HomeActivity.onClickonPostOrderSuccess(HomeActivity.java:522)
    1 frame
  6. com.myapp.order
    OrderNowActivity$10.onClick
    1. com.myapp.order.OrderNowActivity$10.onClick(OrderNowActivity.java:427)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5198)
    2. android.view.View$PerformClick.run(View.java:21147)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5417)
    6 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames