java.lang.ArrayIndexOutOfBoundsException

-1 < 0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7090

  • -1 0 1 0 1 0
  • via Google Groups by Brandon McCombs, 1 year ago
    1 >= 0
  • via Coderanch by R K Singh, 9 months ago
    1 >= 0
  • Stack trace

    • java.lang.ArrayIndexOutOfBoundsException: -1 < 0 at java.util.Vector.elementAt(Vector.java:427) at softwareprojek.SoftTableModel.getColumnName(SoftTableModel.java:38) at softwareprojek.ProVerw.tableChanged(ProVerw.java:117) at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:262) at javax.swing.table.AbstractTableModel.fireTableRowsInserted(AbstractTableModel.java:197) at softwareprojek.SoftTableModel.addRow(SoftTableModel.java:74) at softwareprojek.ProVerw.addRow(ProVerw.java:170) at softwareprojek.MainWindow.updatePV(MainWindow.java:203) at softwareprojek.InsertProduct.addProductToDB(InsertProduct.java:141) at softwareprojek.InsertProduct$1.actionPerformed(InsertProduct.java:62) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216) at java.awt.Component.processMouseEvent(Component.java:3715) at java.awt.Component.processEvent(Component.java:3544) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2593) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:914) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    2 times, 2 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago
    2 more bugmates