java.lang.IllegalStateException: Activity has been destroyed

GitHub | galadril | 10 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

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
    BackStackRecord.commitAllowingStateLoss
    1. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1515)
    2. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:638)
    3. android.support.v4.app.BackStackRecord.commitAllowingStateLoss(BackStackRecord.java:621)
    3 frames
  3. nl.hnogames.domoticz
    RequestUtil$8.onErrorResponse
    1. nl.hnogames.domoticz.MainActivity.addFragment(MainActivity.java:476)
    2. nl.hnogames.domoticz.MainActivity.access$000(MainActivity.java:116)
    3. nl.hnogames.domoticz.MainActivity$1.onReceiveConfig(MainActivity.java:216)
    4. nl.hnogames.domoticz.Utils.UsefulBits$1$1.onError(UsefulBits.java:446)
    5. nl.hnogames.domoticz.Domoticz.UsersParser.onError(UsersParser.java:75)
    6. nl.hnogames.domoticz.Utils.RequestUtil$8.onErrorResponse(RequestUtil.java:235)
    6 frames
  4. Android-Volley Library
    ExecutorDelivery$ResponseDeliveryRunnable.run
    1. com.android.volley.Request.deliverError(Request.java:605)
    2. com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:101)
    2 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:733)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:157)
    4. android.app.ActivityThread.main(ActivityThread.java:5356)
    4 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
    2 frames
  8. XposedBridge
    XposedBridge.main
    1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    1 frame
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame