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

GitHub | MisterY | 3 months ago
  1. 0

    Unhandled Exception: array ouf of bounds

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

    IndexOutOfBoundsException in expandablelistview

    Stack Overflow | 1 year ago | user3367550
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1
  3. 0

    Listview IndexOutOfBoundsException after notifyDataSetChanged();

    Stack Overflow | 12 months ago | Lee
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Invalid index 0, size is 0. WHERE?

    Stack Overflow | 1 year ago | Pseduosance
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  6. 0

    IndexOutOfBoundsException when removing a listView item with delay

    Stack Overflow | 3 years ago | Stephen Dedams
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1

  1. bmacedo 4 times, last 9 hours ago
  2. mhicauber 1 times, last 14 hours ago
  3. filpgame 2 times, last 4 days ago
  4. tvrmsmith 1 times, last 4 days ago
  5. Indri Yunita 12 times, last 5 days ago
67 more registered users
28 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 Platform
    ViewGroup.drawChild
    1. android.widget.HeaderViewListAdapter.isEnabled(HeaderViewListAdapter.java:164)
    2. android.widget.ListView.dispatchDraw(ListView.java:3307)
    3. android.widget.ExpandableListView.dispatchDraw(ExpandableListView.java:353)
    4. android.view.View.draw(View.java:15125)
    5. android.widget.AbsListView.draw(AbsListView.java:4110)
    6. android.view.View.updateDisplayListIfDirty(View.java:14056)
    7. android.view.View.getDisplayList(View.java:14079)
    8. android.view.View.draw(View.java:14846)
    9. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    11. android.view.View.updateDisplayListIfDirty(View.java:14051)
    12. android.view.View.getDisplayList(View.java:14079)
    13. android.view.View.draw(View.java:14846)
    14. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    16. android.view.View.draw(View.java:15125)
    17. android.view.View.updateDisplayListIfDirty(View.java:14056)
    18. android.view.View.getDisplayList(View.java:14079)
    19. android.view.View.draw(View.java:14846)
    20. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    21. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    22. android.view.View.draw(View.java:15125)
    23. android.widget.FrameLayout.draw(FrameLayout.java:592)
    24. android.view.View.updateDisplayListIfDirty(View.java:14056)
    25. android.view.View.getDisplayList(View.java:14079)
    26. android.view.View.draw(View.java:14846)
    27. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    28. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    29. android.view.View.draw(View.java:15125)
    30. android.view.View.updateDisplayListIfDirty(View.java:14056)
    31. android.view.View.getDisplayList(View.java:14079)
    32. android.view.View.draw(View.java:14846)
    33. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    34. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    35. android.view.View.updateDisplayListIfDirty(View.java:14051)
    36. android.view.View.getDisplayList(View.java:14079)
    37. android.view.View.draw(View.java:14846)
    38. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    39. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    40. android.view.View.draw(View.java:15125)
    41. android.view.View.updateDisplayListIfDirty(View.java:14056)
    42. android.view.View.getDisplayList(View.java:14079)
    43. android.view.View.draw(View.java:14846)
    44. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    45. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3210)
    46. android.view.View.draw(View.java:15125)
    47. android.view.View.updateDisplayListIfDirty(View.java:14056)
    48. android.view.View.getDisplayList(View.java:14079)
    49. android.view.View.draw(View.java:14846)
    50. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    51. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    52. android.view.View.draw(View.java:15125)
    53. android.view.View.updateDisplayListIfDirty(View.java:14056)
    54. android.view.View.getDisplayList(View.java:14079)
    55. android.view.View.draw(View.java:14846)
    56. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    56 frames
  4. Android Support v4
    DrawerLayout.drawChild
    1. android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1377)
    1 frame
  5. Android Platform
    FrameLayout.draw
    1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    2. android.view.View.updateDisplayListIfDirty(View.java:14051)
    3. android.view.View.getDisplayList(View.java:14079)
    4. android.view.View.draw(View.java:14846)
    5. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    7. android.view.View.updateDisplayListIfDirty(View.java:14051)
    8. android.view.View.getDisplayList(View.java:14079)
    9. android.view.View.draw(View.java:14846)
    10. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    11. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    12. android.view.View.updateDisplayListIfDirty(View.java:14051)
    13. android.view.View.getDisplayList(View.java:14079)
    14. android.view.View.draw(View.java:14846)
    15. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    16. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    17. android.view.View.updateDisplayListIfDirty(View.java:14051)
    18. android.view.View.getDisplayList(View.java:14079)
    19. android.view.View.draw(View.java:14846)
    20. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    21. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    22. android.view.View.draw(View.java:15125)
    23. android.view.View.updateDisplayListIfDirty(View.java:14056)
    24. android.view.View.getDisplayList(View.java:14079)
    25. android.view.View.draw(View.java:14846)
    26. android.view.ViewGroup.drawChild(ViewGroup.java:3404)
    27. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3198)
    28. android.view.View.draw(View.java:15125)
    29. android.widget.FrameLayout.draw(FrameLayout.java:592)
    29 frames
  6. Android
    PhoneWindow$DecorView.draw
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2595)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.updateDisplayListIfDirty(View.java:14056)
    2. android.view.View.getDisplayList(View.java:14079)
    3. android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:266)
    4. android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:272)
    5. android.view.ThreadedRenderer.draw(ThreadedRenderer.java:311)
    6. android.view.ViewRootImpl.draw(ViewRootImpl.java:2492)
    7. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2337)
    8. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1968)
    9. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1054)
    10. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5779)
    11. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    12. android.view.Choreographer.doCallbacks(Choreographer.java:580)
    13. android.view.Choreographer.doFrame(Choreographer.java:550)
    14. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    15. android.os.Handler.handleCallback(Handler.java:739)
    16. android.os.Handler.dispatchMessage(Handler.java:95)
    17. android.os.Looper.loop(Looper.java:135)
    18. android.app.ActivityThread.main(ActivityThread.java:5264)
    18 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)
    2 frames