java.lang.ArrayIndexOutOfBoundsException: -1

Oracle Community | 807587 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to set focus on Same cell in Table after Tab key entry

    Oracle Community | 1 decade ago | 807587
    java.lang.ArrayIndexOutOfBoundsException: -1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at java.util.Vector.elementAt()
    2. Java RT
      KeyboardFocusManager.redispatchEvent
      1. java.util.Vector.elementAt(Vector.java:434)
      2. javax.swing.table.DefaultTableModel.setValueAt(DefaultTableModel.java:633)
      3. javax.swing.JTable.setValueAt(JTable.java:1794)
      4. javax.swing.JTable.editingStopped(JTable.java:3167)
      5. javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
      6. javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:329)
      7. javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:214)
      8. javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
      9. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
      10. javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
      11. javax.swing.JTable.processKeyBinding(JTable.java:3292)
      12. javax.swing.JComponent.processKeyBindings(JComponent.java:2484)
      13. javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
      14. java.awt.Component.processEvent(Component.java:4909)
      15. java.awt.Container.processEvent(Container.java:1569)
      16. java.awt.Component.dispatchEventImpl(Component.java:3615)
      17. java.awt.Container.dispatchEventImpl(Container.java:1627)
      18. java.awt.Component.dispatchEvent(Component.java:3477)
      19. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
      19 frames