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

GitHub | rafakob | 8 months ago
  1. 0

    MultiselectSample crash

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

    [bug] FC from gplay crashreport

    GitHub | 3 years ago | asksven
    java.lang.RuntimeException: Error receiving broadcast Intent { act=com.asksven.betterbatterystats.REF_UPDATED flg=0x10 (has extras) } in com.asksven.betterbatterystats.StatsActivity$2@4252e778
  3. 0

    Bug on sample: crash

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

    Automated exception search integrated into your IDE

  5. 0

    Error in loop to remove recycler view items. (making a loop crashes app)

    Stack Overflow | 2 years ago | Shohom Shahd
    java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2
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 98, size is 98

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.remove
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    2. java.util.ArrayList.remove(ArrayList.java:403)
    2 frames
  3. com.mikepenz.fastadapter
    ItemAdapter.remove
    1. com.mikepenz.fastadapter.adapters.ItemAdapter.remove(ItemAdapter.java:389)
    2. com.mikepenz.fastadapter.adapters.ItemAdapter.remove(ItemAdapter.java:23)
    2 frames
  4. com.mikepenz.fastadapter_extensions
    UndoHelper$2.onShown
    1. com.mikepenz.fastadapter_extensions.UndoHelper.doChange(UndoHelper.java:104)
    2. com.mikepenz.fastadapter_extensions.UndoHelper.access$300(UndoHelper.java:17)
    3. com.mikepenz.fastadapter_extensions.UndoHelper$2.onShown(UndoHelper.java:75)
    3 frames
  5. android.support.design
    Snackbar$SnackbarLayout.onLayout
    1. android.support.design.widget.Snackbar.onViewShown(Snackbar.java:616)
    2. android.support.design.widget.Snackbar.access$700(Snackbar.java:68)
    3. android.support.design.widget.Snackbar$6.onLayoutChange(Snackbar.java:519)
    4. android.support.design.widget.Snackbar$SnackbarLayout.onLayout(Snackbar.java:769)
    4 frames
  6. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:16637)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    5. android.view.View.layout(View.java:16637)
    6. android.view.ViewGroup.layout(ViewGroup.java:5437)
    7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    8. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    9. android.view.View.layout(View.java:16637)
    10. android.view.ViewGroup.layout(ViewGroup.java:5437)
    11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    12. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    13. android.view.View.layout(View.java:16637)
    14. android.view.ViewGroup.layout(ViewGroup.java:5437)
    15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
    16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
    17. android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
    18. android.view.View.layout(View.java:16637)
    19. android.view.ViewGroup.layout(ViewGroup.java:5437)
    20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    21. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    21 frames
  7. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2693)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:16637)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2179)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1939)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6023)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
    9. android.view.Choreographer.doFrame(Choreographer.java:606)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
    11. android.os.Handler.handleCallback(Handler.java:739)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:148)
    14. android.app.ActivityThread.main(ActivityThread.java:5422)
    14 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames