java.lang.ArrayIndexOutOfBoundsException: -1<0

Oracle Community | 807541 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Selective deafness for ListSelectionListener?

    Oracle Community | 1 decade ago | 807541
    java.lang.ArrayIndexOutOfBoundsException: -1<0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1<0

      at java.util.Vector.elementAt()
    2. Java RT
      DefaultTableModel.getValueAt
      1. java.util.Vector.elementAt(Unknown Source)
      2. javax.swing.DefaultTableModel.getValueAt(Unknown Source)
      2 frames
    3. Unknown
      ParsingListener.valueChanged
      1. ParsingListener.valueChanged(ParsingListener.java:35)
      1 frame
    4. Java RT
      AbstractTableModel.fireTableChanged
      1. javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
      2. javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
      3. javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
      4. javax.swing.DefaultListSelectionModel.removeIndexInterval(Unknown Source)
      5. javax.swing.JTable.tableRowsDeleted(Unknown Source)
      6. javax.swing.JTable.tableChanged(Unknown Source)
      7. javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
      7 frames
    5. javax
      swing.fireTableRowsDeleted
      1. javax.swing.fireTableRowsDeleted(Unknown Source)
      1 frame
    6. Java RT
      DefaultTableModel.removeRow
      1. javax.swing.DefaultTableModel.removeRow(Unknown Source)
      1 frame
    7. Unknown
      LegendTable.deleteRow
      1. LegendTable.deleteRow(LegendTable.java:185)
      1 frame