java.lang.IllegalStateException

Activity has been destroyed

Samebug tips0

We couldn't find tips for this exception.

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

Stack trace

  • java.lang.IllegalStateException: Activity has been destroyed at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1549) at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:654) at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:621) at android.support.v4.app.FragmentTabHost.onAttachedToWindow(FragmentTabHost.java:282) at android.view.View.dispatchAttachedToWindow(View.java:13491) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2713) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2720) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1367) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1126) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6041) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:792) at android.view.Choreographer.doCallbacks(Choreographer.java:596) at android.view.Choreographer.doFrame(Choreographer.java:557) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:778) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:155) at android.app.ActivityThread.main(ActivityThread.java:5721) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)

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

VikramVikram
Once,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
jkjk
4 times, last one
Unknown visitor
Unknown visitorOnce,
28 more bugmates