java.lang.IllegalStateException: Can not perform this action inside of onLoadFinished

Stack Overflow | Safwan Ahmad | 4 months ago
  1. 0

    ListView's performItemClick() causes IllegalStateException when called inside onLoadFinished()

    Stack Overflow | 4 months ago | Safwan Ahmad
    java.lang.IllegalStateException: Can not perform this action inside of onLoadFinished
  2. 0

    Exception in Listfragment when trying to hide another fragment from onScroll

    Stack Overflow | 3 years ago | nmxprime
    java.lang.IllegalStateException: Can not perform this action inside of onLoadFinished
  3. 0

    Android Fragment IllegalStateException

    Stack Overflow | 3 years ago | user2863183
    java.lang.IllegalStateException: Activity has been destroyed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash report 2.8-beta-1 - IllegalStateException in NotificationsActivity

    GitHub | 3 years ago | maxme
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  6. 0

    Crash report 2.9 - IllegalStateException in ReaderActivity.showListFragmentForTag

    GitHub | 3 years ago | maxme
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
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

    Can not perform this action inside of onLoadFinished

    at android.support.v4.app.FragmentManagerImpl.checkStateLoss()
  2. Android Support v4
    BackStackRecord.commit
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1369)
    2. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1383)
    3. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:636)
    4. android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:615)
    4 frames
  3. com.example.android
    ForecastFragment.onLoadFinished
    1. com.example.android.sunshine.app.MainActivity.onListItemClicked(MainActivity.java:200)
    2. com.example.android.sunshine.app.ForecastFragment.onLoadFinished(ForecastFragment.java:285)
    3. com.example.android.sunshine.app.ForecastFragment.onLoadFinished(ForecastFragment.java:46)
    3 frames
  4. Android Support v4
    ModernAsyncTask$InternalHandler.handleMessage
    1. android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:427)
    2. android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:395)
    3. android.support.v4.content.Loader.deliverResult(Loader.java:104)
    4. android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:73)
    5. android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:35)
    6. android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:223)
    7. android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:61)
    8. android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:461)
    9. android.support.v4.content.ModernAsyncTask.access$500(ModernAsyncTask.java:47)
    10. android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:474)
    10 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:135)
    3. android.app.ActivityThread.main(ActivityThread.java:5257)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames