java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1

google.com | 4 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    GitHub comment 212#164154157

    GitHub | 12 months ago | franzejr
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0

  1. Stefan Braune 7 times, last 6 months ago
  2. bayukresno 3 times, last 5 months ago
  3. filpgame 1 times, last 1 week ago
  4. Aria Pahlavan 6 times, last 1 week ago
  5. bmacedo 4 times, last 1 week ago
63 more registered users
30 unregistered visitors
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.IndexOutOfBoundsException

    Invalid index 1, size is 1

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    2. java.util.ArrayList.get(ArrayList.java:308)
    2 frames
  3. android.support.design
    TabLayout$TabLayoutOnPageChangeListener.onPageSelected
    1. android.support.design.widget.TabLayout.getTabAt(TabLayout.java:518)
    2. android.support.design.widget.TabLayout$TabLayoutOnPageChangeListener.onPageSelected(TabLayout.java:1986)
    2 frames
  4. Android Support v4
    PagerAdapter.notifyDataSetChanged
    1. android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1862)
    2. android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:629)
    3. android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:609)
    4. android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:570)
    5. android.support.v4.view.ViewPager.dataSetChanged(ViewPager.java:1019)
    6. android.support.v4.view.ViewPager$PagerObserver.onChanged(ViewPager.java:2991)
    7. android.support.v4.view.PagerAdapter.notifyDataSetChanged(PagerAdapter.java:279)
    7 frames