java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1

Coderanch | sohaib maroof | 5 years ago
  1. 0

    problem clicking jbuttons in jtable

    Coderanch | 5 years ago | sohaib maroof
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
  2. 0

    problem clicking jbuttons in jtable

    Coderanch | 5 years ago | Paul Clapham
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
  3. 0

    Undo in JTable in swing

    Stack Overflow | 3 years ago | Dipti
    java.lang.ArrayIndexOutOfBoundsException: 11 >= 11
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how can i remove specify row from a jtable?

    Stack Overflow | 6 years ago | Mahdi_Nine
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
  6. 0

    JTable - delete row issue

    Stack Overflow | 4 years ago | user1945649
    java.lang.ArrayIndexOutOfBoundsException: 6 >= 0

    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

      Array index out of range: -1

      at java.util.Vector.removeElementAt()
    2. Java RT
      DefaultTableModel.removeRow
      1. java.util.Vector.removeElementAt(Vector.java:558)
      2. javax.swing.table.DefaultTableModel.removeRow(DefaultTableModel.java:463)
      2 frames
    3. com.company.librarySystem
      ButtonEditor.getTableCellEditorComponent
      1. com.company.librarySystem.bm.ui.NewJFrame.selectedCol(NewJFrame.java:59)
      2. com.company.librarySystem.bm.ui.ButtonEditor.buttonPressed(ButtonEditor.java:62)
      3. com.company.librarySystem.bm.ui.ButtonEditor.getTableCellEditorComponent(ButtonEditor.java:23)
      3 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.JTable.prepareEditor(JTable.java:5790)
      2. javax.swing.JTable.editCellAt(JTable.java:3515)
      3. javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(BasicTableUI.java:1108)
      4. javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1038)
      5. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
      6. java.awt.Component.processMouseEvent(Component.java:6501)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      8. java.awt.Component.processEvent(Component.java:6269)
      9. java.awt.Container.processEvent(Container.java:2229)
      10. java.awt.Component.dispatchEventImpl(Component.java:4860)
      11. java.awt.Container.dispatchEventImpl(Container.java:2287)
      12. java.awt.Component.dispatchEvent(Component.java:4686)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      16. java.awt.Container.dispatchEventImpl(Container.java:2273)
      17. java.awt.Window.dispatchEventImpl(Window.java:2713)
      18. java.awt.Component.dispatchEvent(Component.java:4686)
      19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
      20. java.awt.EventQueue.access$000(EventQueue.java:101)
      21. java.awt.EventQueue$3.run(EventQueue.java:666)
      22. java.awt.EventQueue$3.run(EventQueue.java:664)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      26. java.awt.EventQueue$4.run(EventQueue.java:680)
      27. java.awt.EventQueue$4.run(EventQueue.java:678)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      30. java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
      31. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
      32. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
      33. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
      34. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
      35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
      36. java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      36 frames