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

via GitHub by feiyangwei
, 1 year ago
length=12; index=-1
via GitHub by ForeverLiuyaqi
, 9 months ago
length=360; index=360
via Google Groups by Sangeeta Sharma, 6 months ago
via Stack Overflow by Thanh Nam Pham
, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
at java.util.ArrayList.get(ArrayList.java:306)
at undefined.LoopView.onDraw(LoopView.java:276)
at android.view.View.draw(View.java:13740)
at android.view.View.buildDrawingCache(View.java:12994)
at android.view.View.getDisplayList(View.java:12649)
at android.view.View.getDisplayList(View.java:12714)
at android.view.View.draw(View.java:13456)
at android.view.ViewGroup.drawChild(ViewGroup.java:2964)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2833)
at android.view.View.getDisplayList(View.java:12668)
at android.view.View.getDisplayList(View.java:12714)

Users with the same issue

Once, 5 months ago
3 times, 7 months ago
2 times, 11 months ago
Once, 1 year ago
2 times, 1 year ago

Write tip

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