java.lang.ArrayIndexOutOfBoundsException: 4 >= 4

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 Coderanch by khad M, 1 year ago
via Stack Overflow by user1083266
, 2 years ago
Array index out of range: 4
via Oracle Community by praera2000, 1 year ago
via Google Groups by Laura & Larry, 2 years ago
java.lang.ArrayIndexOutOfBoundsException: 4 >= 4
at java.util.Vector.elementAt(Vector.java:417)
at javax.swing.table.DefaultTableModel.setValueAt(DefaultTableModel.java:674)
at javax.swing.JTable.setValueAt(JTable.java:1734)
at javax.swing.JTable.editingStopped(JTable.java:2989)
at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:112)
at javax.swing.AbstractCellEditor.stopCellEditing(AbstractCellEditor.java:68)
at javax.swing.JTable.editCellAt(JTable.java:2359)
at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mousePressed(BasicTableUI.java:464)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:220)
at java.awt.Component.processMouseEvent(Component.java:3714)
at java.awt.Component.processEvent(Component.java:3546)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2595)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2499)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2210)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Component.dispatchEvent(Component.java:2499)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

Users with the same issue

2 times, 8 months ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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