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$4.onResponse
    1. nl.hnogames.domoticz.MainActivity.addFragment(MainActivity.java:480)
    2. nl.hnogames.domoticz.MainActivity.access$000(MainActivity.java:116)
    3. nl.hnogames.domoticz.MainActivity$1.onReceiveConfig(MainActivity.java:218)
    4. nl.hnogames.domoticz.Utils.UsefulBits$1$1$1.onReceiveAuthentication(UsefulBits.java:435)
    5. nl.hnogames.domoticz.Domoticz.AuthParser.parseResult(AuthParser.java:47)
    6. nl.hnogames.domoticz.Utils.RequestUtil$4.onResponse(RequestUtil.java:147)
    7. nl.hnogames.domoticz.Utils.RequestUtil$4.onResponse(RequestUtil.java:142)
    7 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