java.lang.IllegalStateException: Activity has been destroyed

GitHub | galadril | 5 months ago
  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$7.onResponse
    1. nl.hnogames.domoticz.MainActivity.openDialogFragment(MainActivity.java:1288)
    2. nl.hnogames.domoticz.MainActivity.access$100(MainActivity.java:115)
    3. nl.hnogames.domoticz.MainActivity$1.onReceiveConfig(MainActivity.java:217)
    4. nl.hnogames.domoticz.Utils.UsefulBits$1$1.onError(UsefulBits.java:457)
    5. nl.hnogames.domoticz.Domoticz.UsersParser.onError(UsersParser.java:75)
    6. nl.hnogames.domoticz.Utils.RequestUtil.jsonErrorHandling(RequestUtil.java:474)
    7. nl.hnogames.domoticz.Utils.RequestUtil.access$000(RequestUtil.java:53)
    8. nl.hnogames.domoticz.Utils.RequestUtil$7.onResponse(RequestUtil.java:225)
    9. nl.hnogames.domoticz.Utils.RequestUtil$7.onResponse(RequestUtil.java:213)
    9 frames
  4. Android-Volley Library
    ExecutorDelivery$ResponseDeliveryRunnable.run
    1. com.android.volley.toolbox.JsonRequest.deliverResponse(JsonRequest.java:65)
    2. com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)
    2 frames
  5. 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:158)
    4. android.app.ActivityThread.main(ActivityThread.java:7229)
    4 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames