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(ArrayList.java:310)
at com.af.synapse.elements.SSeekBar.getView(SSeekBar.java:363)
at com.af.synapse.MainActivity$TabSectionFragment.prepareView(MainActivity.java:379)
at com.af.synapse.MainActivity$TabSectionFragment.setArguments(MainActivity.java:399)
at com.af.synapse.MainActivity$SectionsPagerAdapter.buildFragment(MainActivity.java:252)
at com.af.synapse.MainActivity$SectionsPagerAdapter.access$800(MainActivity.java:244)
at com.af.synapse.MainActivity$SectionsPagerAdapter$2.run(MainActivity.java:289)
at com.af.synapse.utils.NamedRunnable.run(NamedRunnable.java:28)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)

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.