java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 快速滑动必现
    via GitHub by LinkGitcode
    ,
  • Cancel not canceling?
    via GitHub by mbmc
    ,
    • java.lang.IllegalStateException: Fragment PreviewsFragment{485a655} not attached to Activity at android.support.v4.app.Fragment.getResources(Fragment.java:639) at android.support.v4.app.Fragment.getString(Fragment.java:674) at jahirfiquitiva.apps.iconshowcase.fragments.PreviewsFragment$1.onTabSelected(PreviewsFragment.java:98) at android.support.design.widget.TabLayout.selectTab(TabLayout.java:871) at android.support.design.widget.TabLayout.selectTab(TabLayout.java:841) at android.support.design.widget.TabLayout$Tab.select(TabLayout.java:1115) at android.support.design.widget.TabLayout.addTab(TabLayout.java:389) at android.support.design.widget.TabLayout.addTab(TabLayout.java:361) at android.support.design.widget.TabLayout.setTabsFromPagerAdapter(TabLayout.java:645) at android.support.design.widget.TabLayout.setupWithViewPager(TabLayout.java:616) at jahirfiquitiva.apps.iconshowcase.fragments.PreviewsFragment.createTabs(PreviewsFragment.java:86) at jahirfiquitiva.apps.iconshowcase.fragments.PreviewsFragment.onResume(PreviewsFragment.java:69) at android.support.v4.app.Fragment.performResume(Fragment.java:2005) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1108) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613) at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5470) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    Users with the same issue

    Indri Yunita
    2 times, last one,
    filpgame
    12 times, last one,
    kedartendolkar
    2 times, last one,
    Riyaz
    1 times, last one,
    Unknown visitor1 times, last one,
    15 more bugmates