java.lang.IllegalStateException: Activity has been destroyed

Stack Overflow | Maregas | 4 months ago
  1. 0

    'IllegalStateException: Activity has been destroyed' when adding a tab in tabhost

    Stack Overflow | 4 months ago | Maregas
    java.lang.IllegalStateException: Activity has been destroyed
  2. 0

    IllegalStateException on FragmentManager

    Stack Overflow | 3 years ago | user2581991
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    FragmentTabHost and Asynchronous Tasks

    Stack Overflow | 2 years ago | uj-
    java.lang.IllegalStateException: No tab known for tag null

  1. jk 1 times, last 6 months ago
7 unregistered visitors
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

    Activity has been destroyed

    at android.support.v4.app.FragmentManagerImpl.enqueueAction()
  2. Android Support v4
    FragmentTabHost.onAttachedToWindow
    1. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1549)
    2. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:654)
    3. android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:621)
    4. android.support.v4.app.FragmentTabHost.onAttachedToWindow(FragmentTabHost.java:282)
    4 frames
  3. Android Platform
    ActivityThread.main
    1. android.view.View.dispatchAttachedToWindow(View.java:13491)
    2. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2713)
    3. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720)
    4. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720)
    5. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720)
    6. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720)
    7. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720)
    8. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720)
    9. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1367)
    10. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1126)
    11. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6041)
    12. android.view.Choreographer$CallbackRecord.run(Choreographer.java:792)
    13. android.view.Choreographer.doCallbacks(Choreographer.java:596)
    14. android.view.Choreographer.doFrame(Choreographer.java:557)
    15. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:778)
    16. android.os.Handler.handleCallback(Handler.java:739)
    17. android.os.Handler.dispatchMessage(Handler.java:95)
    18. android.os.Looper.loop(Looper.java:155)
    19. android.app.ActivityThread.main(ActivityThread.java:5721)
    19 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  5. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)
    2 frames