java.lang.ArrayIndexOutOfBoundsException: length=24; index=-1

GitHub | liuguoquan727 | 4 months 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

    GitHub comment 678#269588301

    GitHub | 4 months ago | liuguoquan727
    java.lang.ArrayIndexOutOfBoundsException: length=24; index=-1
  2. 0

    GitHub comment 678#269858449

    GitHub | 4 months ago | a7891749
    java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
  3. 0

    ExpandableItem Activity点击最后一项出现异常

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

    Automated exception search integrated into your IDE

  5. 0

    BaseMultiItemQuickAdapter 报错

    GitHub | 8 months ago | saky0542
    java.lang.NullPointerException
  6. 0

    java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType

    GitHub | 2 months ago | kpioneer123
    java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
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.ArrayIndexOutOfBoundsException

    length=24; index=-1

    at java.util.ArrayList.get()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.get(ArrayList.java:310)
    1 frame
  3. com.chad.library
    BaseQuickAdapter.collapse
    1. com.chad.library.adapter.base.BaseQuickAdapter.getItem(BaseQuickAdapter.java:392)
    2. com.chad.library.adapter.base.BaseQuickAdapter.getExpandableItem(BaseQuickAdapter.java:1324)
    3. com.chad.library.adapter.base.BaseQuickAdapter.collapse(BaseQuickAdapter.java:1272)
    4. com.chad.library.adapter.base.BaseQuickAdapter.collapse(BaseQuickAdapter.java:1307)
    4 frames
  4. com.chad.baserecyclerviewadapterhelper
    ExpandableItemAdapter$2.onClick
    1. com.chad.baserecyclerviewadapterhelper.adapter.ExpandableItemAdapter$2.onClick(ExpandableItemAdapter.java:76)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5204)
    2. android.view.View$PerformClick.run(View.java:21153)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5417)
    6 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. 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