java.lang.ArrayIndexOutOfBoundsException: length=27; index=-3

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=27; index=-3
at java.util.ArrayList.get(ArrayList.java:310)
at android.widget.ArrayAdapter.getItem(ArrayAdapter.java:337)
at com.cage.roll.midleprojectfinal.MainActivity$2$2.onClick(MainActivity.java:85)

Users with the same issue

Once, 3 months ago
3 times, 5 months ago
2 times, 9 months ago
Once, 10 months ago
2 times, 11 months ago
42 more bugmates

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