java.lang.IndexOutOfBoundsException

Stack Overflow | noxia | 2 months ago
  1. 0

    correct way to implement item touch helper on recyclerview in android

    Stack Overflow | 2 months ago | Martin Seal
    java.lang.IndexOutOfBoundsException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    IndexOutOfBoundsException when mapping a union with JNA

    GitHub | 3 years ago | rpgomes
    java.lang.IndexOutOfBoundsException: Index: 12, Size: 12
  4. 0

    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0,,ERROR (SearchSMFController.java:120) Index: 0, Size: 0

    Stack Overflow | 3 years ago | user3665151
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source)``

  1. brunosatriani 5 times, last 5 months ago
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

    No message provided

    at java.util.Collections.swap()
  2. Java RT
    Collections.swap
    1. java.util.Collections.swap(Collections.java:1937)
    1 frame
  3. hr.fer.tel
    SimpleItemTouchHelperCallback.onMove
    1. hr.fer.tel.vizualniraspored.adapter.ExistingActivitiesAdapter.onItemMove(ExistingActivitiesAdapter.java:90)
    2. hr.fer.tel.vizualniraspored.adapter.helper.SimpleItemTouchHelperCallback.onMove(SimpleItemTouchHelperCallback.java:54)
    2 frames
  4. android.support.v7
    ItemTouchHelper$2.onTouchEvent
    1. android.support.v7.widget.helper.ItemTouchHelper.moveIfNecessary(ItemTouchHelper.java:835)
    2. android.support.v7.widget.helper.ItemTouchHelper.access$100(ItemTouchHelper.java:75)
    3. android.support.v7.widget.helper.ItemTouchHelper$2.onTouchEvent(ItemTouchHelper.java:361)
    3 frames
  5. Android v7
    RecyclerView.onTouchEvent
    1. android.support.v7.widget.RecyclerView.dispatchOnItemTouch(RecyclerView.java:1991)
    2. android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2116)
    2 frames
  6. Android Platform
    ViewGroup.dispatchTouchEvent
    1. android.view.View.dispatchTouchEvent(View.java:9994)
    2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2830)
    3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2501)
    4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    18. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2841)
    19. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2516)
    19 frames
  7. Android
    PhoneWindow.superDispatchTouchEvent
    1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2810)
    2. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1863)
    2 frames
  8. Android Platform
    Activity.dispatchTouchEvent
    1. android.app.Activity.dispatchTouchEvent(Activity.java:3047)
    1 frame
  9. Android v7
    WindowCallbackWrapper.dispatchTouchEvent
    1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
    1 frame
  10. Android
    PhoneWindow$DecorView.dispatchTouchEvent
    1. com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2771)
    1 frame
  11. Android Platform
    ViewRootImpl$WindowInputEventReceiver.onInputEvent
    1. android.view.View.dispatchPointerEvent(View.java:10229)
    2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5357)
    3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5193)
    4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4633)
    5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4686)
    6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4652)
    7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4794)
    8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4660)
    9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4851)
    10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4633)
    11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4686)
    12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4652)
    13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4660)
    14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4633)
    15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7330)
    16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7208)
    17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7169)
    18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7440)
    18 frames