java.lang.ArrayIndexOutOfBoundsException: -1

Oracle Community | 807587 | 1 decade ago
  1. 0

    How to use cancelCellEditing() in getCellEditorValue()

    Oracle Community | 1 decade ago | 807587
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Unexpected exception in the Macros property editor

    Netbeans Bugzilla | 1 decade ago | ccv
    java.lang.ArrayIndexOutOfBoundsException: 0 at org.netbeans.modules.editor.options.MacrosEditorPanel$PairStringModel.getValueAt(MacrosEditorPanel.java:282) at org.netbeans.modules.editor.options.MacrosEditorPanel$PairStringModel.getPair(MacrosEditorPanel.java:298) at org.netbeans.modules.editor.options.MacrosEditorPanel.editButtonActionPerformed(MacrosEditorPanel.java:183) at org.netbeans.modules.editor.options.MacrosEditorPanel.access$100(MacrosEditorPanel.java:36) at org.netbeans.modules.editor.options.MacrosEditorPanel$2.actionPerformed(MacrosEditorPanel.java:145) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(Component.java:5134) at java.awt.Component.processEvent(Component.java:4931) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) [catch] 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.pumpEventsForHierarchy(EventDispatchThread.java:140)
  4. 0

    org.openide.filesystems.FileStateInvalidException

    Netbeans Bugzilla | 1 decade ago | ldunaway
    java.lang.ArrayIndexOutOfBoundsException: 1 at java.awt.Container.createHierarchyEvents(Container.java:934) at java.awt.Container.createHierarchyEvents(Container.java:934) at java.awt.Container.createHierarchyEvents(Container.java:934) at java.awt.Container.createHierarchyEvents(Container.java:934) at java.awt.Container.createHierarchyEvents(Container.java:934) at java.awt.Container.createHierarchyEvents(Container.java:934) at java.awt.Container.createHierarchyEvents(Container.java:934)

  1. bpbhat77 2 times, last 6 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at java.util.Vector.elementAt()
  2. Java RT
    Dialog.show
    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)
    20. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
    21. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
    22. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
    23. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
    24. java.awt.Component.dispatchEventImpl(Component.java:3506)
    25. java.awt.Container.dispatchEventImpl(Container.java:1627)
    26. java.awt.Window.dispatchEventImpl(Window.java:1606)
    27. java.awt.Component.dispatchEvent(Component.java:3477)
    28. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    29. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    30. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    31. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    32. java.awt.Dialog$1.run(Dialog.java:540)
    33. java.awt.Dialog.show(Dialog.java:561)
    33 frames
  3. Unknown
    test$26.actionPerformed
    1. test.jButton14ActionPerformed(test.java:492)
    2. test.access$2500(test.java:13)
    3. test$26.actionPerformed(test.java:351)
    3 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    6. java.awt.Component.processMouseEvent(Component.java:5100)
    7. java.awt.Component.processEvent(Component.java:4897)
    8. java.awt.Container.processEvent(Container.java:1569)
    9. java.awt.Component.dispatchEventImpl(Component.java:3615)
    10. java.awt.Container.dispatchEventImpl(Container.java:1627)
    11. java.awt.Component.dispatchEvent(Component.java:3477)
    12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    15. java.awt.Container.dispatchEventImpl(Container.java:1613)
    16. java.awt.Window.dispatchEventImpl(Window.java:1606)
    17. java.awt.Component.dispatchEvent(Component.java:3477)
    18. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    23. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    23 frames