java.lang.IllegalStateException: Activity has been destroyed

GitHub | aznSlayer | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Crash in CameraActivity.java

    GitHub | 8 months ago | aznSlayer
    java.lang.IllegalStateException: Activity has been destroyed
  2. 0

    crash report

    GitHub | 2 years ago | door43app
    java.lang.RuntimeException: Unable to destroy activity {com.translationstudio.androidapp/com.door43.translationstudio.MainActivity}: java.lang.IllegalStateException: Activity has been destroyed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    App crashes when started again for a second time

    Stack Overflow | 5 years ago | El Duderino
    java.lang.RuntimeException: Unable to start activity ComponentInfo{de.lochmann.einkaufsliste/de.lochmann.einkaufsliste.AC_Main}: j java.lang.IllegalStateException: Activity has been destroyed
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.app.FragmentManagerImpl.enqueueAction()
  2. Android Platform
    BackStackRecord.commit
    1. android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1365)
    2. android.app.BackStackRecord.commitInternal(BackStackRecord.java:728)
    3. android.app.BackStackRecord.commit(BackStackRecord.java:704)
    3 frames
  3. com.commonsware.cwac
    CameraActivity$2.run
    1. com.commonsware.cwac.cam2.CameraActivity.removeFragments(CameraActivity.java:233)
    2. com.commonsware.cwac.cam2.CameraActivity.access$000(CameraActivity.java:31)
    3. com.commonsware.cwac.cam2.CameraActivity$2.run(CameraActivity.java:175)
    3 frames
  4. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:145)
    4. android.app.ActivityThread.main(ActivityThread.java:6145)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
    2 frames