Invalid index 1, size is 0

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web7677

  • Invalid index 1, size is 0
  • via GitHub by norani
    , 10 months ago
    Invalid index 1, size is 0
  • Invalid index 1, size is 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException( at java.util.ArrayList.get( at at$TabLayoutOnPageChangeListener.onPageSelected( at at at at at at$PagerObserver.onChanged( at at$1.onTabSelected( at com.roughike.bottombar.BottomBar.updateSelectedTab( at com.roughike.bottombar.BottomBar.handleClick( at com.roughike.bottombar.BottomBar.onClick( at android.view.View.performClick( at android.view.View$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke( at$ at at dalvik.system.NativeStart.main(Native Method)

    Write tip

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

    Users with the same issue

    7 times, 1 year ago
    3 times, 1 year ago
    Unknown user
    Once, 1 year ago
    3 times, 5 months ago
    2 times, 6 months ago
    241 more bugmates