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

GitHub | totiherms | 2 months ago
  1. 0

    java.lang.IndexOutOfBoundsException

    GitHub | 2 months ago | totiherms
    java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
  2. 0

    FragmentStatePager Adapter IndexOutOfBound on Background

    Stack Overflow | 2 months ago | Jayant Arora
    java.lang.IndexOutOfBoundsException: Invalid index 5, size is 3
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android view pager as listview items crash on scroll

    Stack Overflow | 4 months ago | Akshay Sood
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0

  1. Alexandru Popa 9 times, last 3 weeks ago
  2. bmacedo 4 times, last 3 days ago
  3. mhicauber 1 times, last 3 days ago
  4. filpgame 2 times, last 6 days ago
  5. tvrmsmith 1 times, last 7 days ago
67 more registered users
27 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 2, size is 2

    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 v4
    ViewPager.getChildDrawingOrder
    1. android.support.v4.view.ViewPager.getChildDrawingOrder(ViewPager.java:800)
    1 frame
  4. Android Platform
    ViewGroup.dispatchTouchEvent
    1. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2023)
    2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2350)
    17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2040)
    17 frames
  5. Android
    PhoneWindow.superDispatchTouchEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2216)
    2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1563)
    2 frames
  6. Android Platform
    Activity.dispatchTouchEvent
    1. android.app.Activity.dispatchTouchEvent(Activity.java:2547)
    1 frame
  7. Android v7
    WindowCallbackWrapper.dispatchTouchEvent
    1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
    1 frame
  8. Android
    PhoneWindow$DecorView.dispatchTouchEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2164)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.view.View.dispatchPointerEvent(View.java:8003)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4221)
    3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4100)
    4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3658)
    5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3712)
    6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3681)
    7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3792)
    8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3689)
    9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3849)
    10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3658)
    11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3712)
    12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3681)
    13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3689)
    14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3658)
    15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5925)
    16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5874)
    17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5845)
    18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6005)
    19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
    20. android.os.MessageQueue.nativePollOnce(Native Method)
    21. android.os.MessageQueue.next(MessageQueue.java:138)
    22. android.os.Looper.loop(Looper.java:123)
    23. android.app.ActivityThread.main(ActivityThread.java:5584)
    23 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame