java.lang.IllegalStateException

Activity has been destroyed

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web7338

  • via GitHub by MiralDesai
    , 1 year ago
    Activity has been destroyed
  • Activity has been destroyed
  • Activity has been destroyed
  • Stack trace

    • java.lang.IllegalStateException: Activity has been destroyed at android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1365) at android.app.BackStackRecord.commitInternal(BackStackRecord.java:728) at android.app.BackStackRecord.commit(BackStackRecord.java:704) at com.commonsware.cwac.cam2.CameraActivity.removeFragments(CameraActivity.java:233) at com.commonsware.cwac.cam2.CameraActivity.access$000(CameraActivity.java:31) at com.commonsware.cwac.cam2.CameraActivity$2.run(CameraActivity.java:175) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6145) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

    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 user
    Once, 1 month ago
    52 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    9 more bugmates