java.lang.IndexOutOfBoundsException: Invalid index 5, size is 3

Stack Overflow | Jayant Arora | 2 months ago
  1. 0

    FragmentStatePager Adapter IndexOutOfBound on Background

    Stack Overflow | 2 months ago | Jayant Arora
    java.lang.IndexOutOfBoundsException: Invalid index 5, size is 3
  2. 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
  3. 0

    java.lang.IndexOutOfBoundsException

    GitHub | 2 months ago | totiherms
    java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Alexandru Popa 9 times, last 3 weeks ago
  2. filpgame 1 times, last 1 week ago
  3. Aria Pahlavan 6 times, last 1 week ago
  4. bmacedo 4 times, last 1 week ago
  5. MoYapro 5 times, last 2 weeks ago
63 more registered users
31 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 5, size is 3

    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
    View.draw
    1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3396)
    2. android.view.View.draw(View.java:16384)
    2 frames
  5. Android Support v4
    ViewPager.draw
    1. android.support.v4.view.ViewPager.draw(ViewPager.java:2415)
    1 frame
  6. Android Platform
    ViewGroup.drawChild
    1. android.view.View.updateDisplayListIfDirty(View.java:15378)
    2. android.view.View.draw(View.java:16151)
    3. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    4. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    5. android.view.View.updateDisplayListIfDirty(View.java:15373)
    6. android.view.View.draw(View.java:16151)
    7. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    8. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    9. android.view.View.draw(View.java:16384)
    10. android.view.View.updateDisplayListIfDirty(View.java:15378)
    11. android.view.View.draw(View.java:16151)
    12. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    13. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    14. android.view.View.draw(View.java:16384)
    15. android.view.View.updateDisplayListIfDirty(View.java:15378)
    16. android.view.View.draw(View.java:16151)
    17. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    18. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    19. android.view.View.updateDisplayListIfDirty(View.java:15373)
    20. android.view.View.draw(View.java:16151)
    21. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    21 frames
  7. Android Support v4
    DrawerLayout.drawChild
    1. android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1383)
    1 frame
  8. Android Platform
    View.draw
    1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    2. android.view.View.draw(View.java:16384)
    3. android.view.View.updateDisplayListIfDirty(View.java:15378)
    4. android.view.View.draw(View.java:16151)
    5. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    7. android.view.View.updateDisplayListIfDirty(View.java:15373)
    8. android.view.View.draw(View.java:16151)
    9. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    11. android.view.View.updateDisplayListIfDirty(View.java:15373)
    12. android.view.View.draw(View.java:16151)
    13. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    14. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    15. android.view.View.updateDisplayListIfDirty(View.java:15373)
    16. android.view.View.draw(View.java:16151)
    17. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    18. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    19. android.view.View.updateDisplayListIfDirty(View.java:15373)
    20. android.view.View.draw(View.java:16151)
    21. android.view.ViewGroup.drawChild(ViewGroup.java:3610)
    22. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)
    23. android.view.View.draw(View.java:16384)
    23 frames
  9. Android
    PhoneWindow$DecorView.draw
    1. com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2692)
    1 frame
  10. Android Platform
    Choreographer$FrameDisplayEventReceiver.run
    1. android.view.View.updateDisplayListIfDirty(View.java:15378)
    2. android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:281)
    3. android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:287)
    4. android.view.ThreadedRenderer.draw(ThreadedRenderer.java:322)
    5. android.view.ViewRootImpl.draw(ViewRootImpl.java:2928)
    6. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2740)
    7. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2358)
    8. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1233)
    9. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6549)
    10. android.view.Choreographer$CallbackRecord.run(Choreographer.java:919)
    11. android.view.Choreographer.doCallbacks(Choreographer.java:710)
    12. android.view.Choreographer.doFrame(Choreographer.java:645)
    13. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:905)
    13 frames