java.lang.ArrayIndexOutOfBoundsException: length=12; 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.ArrayIndexOutOfBoundsException: length=12; 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.expand(
at com.chad.library.adapter.base.BaseQuickAdapter.expand(
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

3 times, 4 months ago
6 times, 8 months ago
2 times, 9 months ago
2 times, 11 months ago
40 times, 1 year ago

Write tip

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