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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by liuguoquan727
, 10 months ago
length=24; index=-1
via GitHub by a7891749
, 11 months ago
length=12; index=-1
via Google Groups by porky008, 3 months ago
via GitHub by Ivolian
, 6 months ago
length=10; index=-1
via Google Groups by Sangeeta Sharma, 4 months ago
java.lang.ArrayIndexOutOfBoundsException: length=24; index=-1
at java.util.ArrayList.get(
at com.chad.library.adapter.base.BaseQuickAdapter.getItem(
at com.chad.library.adapter.base.BaseQuickAdapter.getExpandableItem(
at com.chad.library.adapter.base.BaseQuickAdapter.collapse(
at com.chad.library.adapter.base.BaseQuickAdapter.collapse(
at com.chad.baserecyclerviewadapterhelper.adapter.ExpandableItemAdapter$2.onClick(
at android.view.View.performClick(
at android.view.View$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(

Users with the same issue

Once, 4 months ago
3 times, 6 months ago
2 times, 10 months ago
Once, 11 months ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.