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

Solutions on the web

java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
at java.util.ArrayList.get(ArrayList.java:310)
at com.thinkit.jozsa.mynote.ui.notes.list.ListRecyclerViewOperator$ListAdapter$4.onCheckedChanged(ListRecyclerViewOperator.java:194)
at android.widget.CompoundButton.setChecked(CompoundButton.java:156)
at android.widget.CompoundButton.toggle(CompoundButton.java:115)
at android.widget.CompoundButton.performClick(CompoundButton.java:120)
at android.view.View$PerformClick.run(View.java:21158)
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:5461)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

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
42 more bugmates

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