java.lang.IllegalStateException: Fragment WatchFragment{413d0d98} is not currently in the FragmentManager

slideshare.net | 8 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. 0

    Oh so you test? - A guide to testing on Android from Unit to Mutation

    slideshare.net | 8 months ago
    java.lang.IllegalStateException: Fragment WatchFragment{413d0d98} is not currently in the FragmentManager
  2. 0

    IllegalStateException on Activity containing ViewPager using FragmentStatePagerAdapter on relaunching the actvity

    Stack Overflow | 2 years ago | Rajiv Singh
    java.lang.IllegalStateException: Fragment EventGridFragment{2fbf162b} is not currently in the FragmentManager

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Fragment WatchFragment{413d0d98} is not currently in the FragmentManager

      at android.app.FragmentManagerImpl.saveFragmentInstanceState()
    2. Android Platform
      FragmentManagerImpl.saveFragmentInstanceState
      1. android.app.FragmentManagerImpl.saveFragmentInstanceState(FragmentManager.java:586)
      1 frame
    3. android-support-v13
      FragmentStatePagerAdapter.destroyItem
      1. android.support.v13.app.FragmentStatePagerAdapter.destroyItem(FragmentStatePagerAdapter.java:140)
      1 frame
    4. Android Support v4
      ViewPager.setAdapter
      1. android.support.v4.view.ViewPager.setAdapter(ViewPager.java:413)
      1 frame
    5. com.mubi.onboard
      OnboardTaskFragment$3.run
      1. com.mubi.onboard.OnboardActivity.updateViewPager(OnboardActivity.java:139)
      2. com.mubi.onboard.OnboardActivity.onRetrieved(OnboardActivity.java:132)
      3. com.mubi.onboard.OnboardTaskFragment$3.run(OnboardTaskFragment.java:77)
      3 frames
    6. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:725)
      2. android.os.Handler.dispatchMessage(Handler.java:92)
      3. android.os.Looper.loop(Looper.java:137)
      4. android.app.ActivityThread.main(ActivityThread.java:5195)
      4 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
      3. com.android.internal.os.ZygoteInit.main(Native Method)
      3 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame