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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 678#269588301
    via GitHub by liuguoquan727
    ,
    • java.lang.ArrayIndexOutOfBoundsException: length=24; index=-1 at java.util.ArrayList.get(ArrayList.java:310) at com.chad.library.adapter.base.BaseQuickAdapter.getItem(BaseQuickAdapter.java:392) at com.chad.library.adapter.base.BaseQuickAdapter.getExpandableItem(BaseQuickAdapter.java:1324) at com.chad.library.adapter.base.BaseQuickAdapter.collapse(BaseQuickAdapter.java:1272) at com.chad.library.adapter.base.BaseQuickAdapter.collapse(BaseQuickAdapter.java:1307) at com.chad.baserecyclerviewadapterhelper.adapter.ExpandableItemAdapter$2.onClick(ExpandableItemAdapter.java:76) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21153) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    Users with the same issue

    Indri Yunita
    Indri Yunita3 times, last one,
    filpgame
    filpgame2 times, last one,
    leankuroneko
    leankuroneko1 times, last one,
    bmacedo
    bmacedo2 times, last one,
    rube
    rube24 times, last one,
    35 more bugmates