java.lang.IndexOutOfBoundsException

tip

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 212#164154157
    via GitHub by franzejr
    ,
    • java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at android.support.design.widget.TabLayout.getTabAt(TabLayout.java:518) at android.support.design.widget.TabLayout$TabLayoutOnPageChangeListener.onPageSelected(TabLayout.java:1986) at android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1862) at android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:629) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:609) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:570) at android.support.v4.view.ViewPager.dataSetChanged(ViewPager.java:1019) at android.support.v4.view.ViewPager$PagerObserver.onChanged(ViewPager.java:2991) at android.support.v4.view.PagerAdapter.notifyDataSetChanged(PagerAdapter.java:279)

    Users with the same issue

    Stefan BrauneStefan Braune
    7 times, last one,
    bayukresnobayukresno
    3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    filpgamefilpgame
    11 times, last one,
    237 more bugmates