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

  1. ,
    Expert tip

    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

  2. ,

    Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

java.lang.IndexOutOfBoundsException: Index: -1, Size: 12	at java.util.ArrayList.RangeCheck(ArrayList.java:508)	at java.util.ArrayList.get(ArrayList.java:320)	at org.main.util.GenTableModel.getRow(GenTableModel.java:179)	at org.main.ui.AdminMenu$2.mouseClicked(AdminMenu.java:328)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:207)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:207)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:207)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:207)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:207)	at java.awt.Component.processMouseEvent(Component.java:5096)	at java.awt.Component.processEvent(Component.java:4890)	at java.awt.Container.processEvent(Container.java:1566)	at java.awt.Component.dispatchEventImpl(Component.java:3598)	at java.awt.Container.dispatchEventImpl(Container.java:1623)	at java.awt.Component.dispatchEvent(Component.java:3439)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3174)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)	at java.awt.Container.dispatchEventImpl(Container.java:1609)	at java.awt.Window.dispatchEventImpl(Window.java:1585)	at java.awt.Component.dispatchEvent(Component.java:3439)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)