java.lang.IllegalStateException: Activity has been destroyed

GitHub | herbeth1u | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [Bug] Activity has been destroyed

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

    Fatal Exception: java.lang.IllegalStateException: Activity has been destroyed

    Stack Overflow | 10 months ago | Sergey
    java.lang.IllegalStateException: Activity has been destroyed
  3. 0

    Caused by: java.lang.IllegalStateException: Activity has been destroyed

    GitHub | 1 year ago | shawnlinboy
    java.lang.RuntimeException: Unable to destroy activity {MY PACKAGE NAME}: java.lang.IllegalStateException: Activity has been destroyed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java.lang.IllegalStateException Activity has been destroyed - 唯爱~ - 博客园

    cnblogs.com | 5 months ago
    java.lang.IllegalStateException: Activity has been destroyed
  6. 0

    java.lang.IllegalStateException: commit already called

    Stack Overflow | 2 years ago | Gunaseelan
    java.lang.IllegalStateException: commit already called
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.commitAllowingStateLoss
    1. android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1433)
    2. android.app.BackStackRecord.commitInternal(BackStackRecord.java:687)
    3. android.app.BackStackRecord.commitAllowingStateLoss(BackStackRecord.java:667)
    3 frames
  3. android-support-v13
    FragmentStatePagerAdapter.finishUpdate
    1. android.support.v13.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:166)
    1 frame
  4. Android Support v4
    ViewPager.setAdapter
    1. android.support.v4.view.ViewPager.setAdapter(ViewPager.java:476)
    1 frame
  5. com.booboot.vndbandroid
    Callback$1.run
    1. com.booboot.vndbandroid.activity.VNListFragment.refresh(VNListFragment.java:100)
    2. com.booboot.vndbandroid.activity.MainActivity.refreshVnlistFragment(MainActivity.java:300)
    3. com.booboot.vndbandroid.activity.VNTypeFragment$3.config(VNTypeFragment.java:139)
    4. com.booboot.vndbandroid.util.Callback$1.run(Callback.java:32)
    4 frames
  6. 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:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5417)
    4 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames