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

segmentfault.com | 3 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    android - Crash Log中没有有效信息时,如何分析错误? - SegmentFault

    segmentfault.com | 3 weeks ago
    java.lang.IndexOutOfBoundsException: Invalid index 6, size is 1
  2. 0

    Database error in ListView: app has stopped

    Stack Overflow | 4 years ago | Katherine99
    java.lang.IndexOutOfBoundsException: Invalid index 14, size is 0
  3. 0

    GitHub comment 16#75425337

    GitHub | 2 years ago | Bai-Jie
    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- How to find the error when I don't know which line is making the error

    Stack Overflow | 2 years ago | mahdi yamani
    java.lang.IndexOutOfBoundsException: Invalid index 81, size is 0

  1. Victor_IT 2 times, last 6 days ago
  2. arturgajowy 1 times, last 1 week ago
  3. Pilleo 3 times, last 2 weeks ago
  4. Indri Yunita 8 times, last 2 weeks ago
  5. SteVio1989 1 times, last 3 weeks ago
73 more registered users
22 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 6, 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.dispatchTouchEvent
    1. android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:225)
    2. android.widget.AbsListView.obtainView(AbsListView.java:2372)
    3. android.widget.ListView.makeAndAddView(ListView.java:1816)
    4. android.widget.ListView.fillDown(ListView.java:717)
    5. android.widget.ListView.fillGap(ListView.java:681)
    6. android.widget.AbsListView.trackMotionScroll(AbsListView.java:5711)
    7. android.widget.AbsListView.scrollIfNeeded(AbsListView.java:3466)
    8. android.widget.AbsListView.onTouchMove(AbsListView.java:3923)
    9. android.widget.AbsListView.onTouchEvent(AbsListView.java:3695)
    10. android.view.View.dispatchTouchEvent(View.java:7725)
    11. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2215)
    12. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1950)
    13. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2221)
    14. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1964)
    15. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2221)
    16. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1964)
    17. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2221)
    18. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1964)
    19. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2221)
    20. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1964)
    21. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2221)
    22. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1964)
    23. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2221)
    24. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1964)
    25. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2221)
    26. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1964)
    26 frames
  4. Android
    PhoneWindow.superDispatchTouchEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2113)
    2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1560)
    2 frames
  5. Android Platform
    Activity.dispatchTouchEvent
    1. android.app.Activity.dispatchTouchEvent(Activity.java:2480)
    1 frame
  6. Android
    PhoneWindow$DecorView.dispatchTouchEvent
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2061)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.dispatchPointerEvent(View.java:7905)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3985)
    3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3864)
    4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3407)
    5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3457)
    6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3426)
    7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3533)
    8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3434)
    9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3590)
    10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3407)
    11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3457)
    12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3426)
    13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3434)
    14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3407)
    15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5570)
    16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5550)
    17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5521)
    18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5650)
    19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
    20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
    21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
    22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5623)
    23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5669)
    24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:786)
    25. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    26. android.view.Choreographer.doFrame(Choreographer.java:558)
    27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:772)
    28. android.os.Handler.handleCallback(Handler.java:733)
    29. android.os.Handler.dispatchMessage(Handler.java:95)
    30. android.os.Looper.loop(Looper.java:136)
    31. android.app.ActivityThread.main(ActivityThread.java:5143)
    31 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
    2 frames
  10. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame