ViewPager.setCurrentItem() has thrown an IllegalStateException

We found this prefix in 11 webpages.
MapChildren (11)Typical messages (11)TraceDetailed Map
  1. java.lang.IllegalStateException
    1.   at android.support.v4.view.ViewPager.populate()
    2.   at android.support.v4.view.ViewPager.setCurrentItemInternal()
    3.   at android.support.v4.view.ViewPager.setCurrentItemInternal()
    4.   at android.support.v4.view.ViewPager.setCurrentItem()
  1. GitHub icon[bug] 首页的pagerAdapter内容改变并没有更新banner里的内容

    First:1 year ago
    Last:1 year ago
    Author:ostea
  2. GitHub iconAdd items after calling setAdapter error: "The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged!"

    First:1 year ago
    Last:6 months ago
    Author:dimanem
  3. Pager Adapter Error while try to display server images in slider

    First:5 months ago
    Last:5 months ago
    Author:aamer
  4. GitHub icon建议在CBLoopViewPager的super.setCurrentItem(realItem, smoothScroll);用try-catch一下

    First:3 years ago
    Last:2 years ago
    Author:caixuejian
  5. GitHub iconCrash after deleting tap

    First:4 years ago
    Last:2 years ago
    Author:mik3y
  6. FragmentStatePagerAdapter stopped working after updating to ADT 22?

    First:5 years ago
    Last:2 years ago
    Author:Ninjalan
  7. GitHub icon数据更新后,调用notifyDataSetChanged无效并且异常退出

    First:1 year ago
    Last:1 year ago
    Author:zhangxiliang
  8. Issue with PagerAdapter

    First:1 year ago
    Last:1 year ago
    Author:DonDave
  9. GitHub iconnotifyDataSetChanged会崩

    First:2 years ago
    Last:2 years ago
    Author:maplejaw
  10. java.lang.IllegalStateException: ... without calling PagerAdapter#notifyDataSetChanged! ... - Xamarin Forums

    First:2 years ago
    Last:2 years ago
  11. GitHub iconGitHub comment 4#391554824

    First:6 months ago
    Last:4 months ago
    Author:liangzhengang
MessageNumber of crashes
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 800, found: 2000 Pager id: 2 Pager class: class com.tmall.ultraviewpager.UltraViewPagerView Problematic adapter: c1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 0, found: 4 Pager id: 2 Pager class: class com.tmall.ultraviewpager.UltraViewPagerView Problematic adapter: class 1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 0, found: 4 Pager id: com.example.aamer.aurangabad:id/pager Pager class: class android.support.v4.view.ViewPager P1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 2, found: 4 Pager id: com.rjfittime.app:id/cbLoopViewPager Pager class: class com.bigkoo.convenientbanner.CBLoopVi1
Unable to resume activity {org.kegbot.app/org.kegbot.app.HomeActivity}: java.lang.RuntimeException: Could not dispatch event: class org.kegbot.app.event.TapListUpdateEvent to handler [EventHandler public void org.kegbot.app.HomeActivity.onTapListUpdate(org1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 11, found: 10 Pager id: com.######:id/pager Pager class: class android.support.v4.view.ViewPager Problematic adapt1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 0, found: 1200 Pager id: 1 Pager class: class com.tmall.ultraviewpager.UltraViewPagerView Problematic adapter: cla1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 0, found: 1 Pager id: com.example.dave.lomoapp:id/slideShow Pager class: class android.support.v4.view.ViewPager 1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 4, found: 1 Pager id: com.zhipu.salehelper.referee:id/viewpager_inner Pager class: class android.support.v4.view.V1
The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 2, found: 3 Pager id: ffffffff Pager class: class android.support.v4.view.ViewPager Problematic adapter: class md51
  1. java.lang.IllegalStateException
    1.   at android.support.v4.view.ViewPager.populate()
    2.   at android.support.v4.view.ViewPager.setCurrentItemInternal()
    3.   at android.support.v4.view.ViewPager.setCurrentItemInternal()
    4.   at android.support.v4.view.ViewPager.setCurrentItem()