Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4292678

javax.swing.table.DefaultTableModel.InsertRow(row,nullVector) throws a AIOOBE

    XMLWordPrintable

Details

    • merlin
    • sparc
    • solaris_2.6

    Description

      Making a call to javax.swing.table.DefaultTableModel.InsertRow(row,nullVector) with a null vector or null object[] causes an Exception to thrown from getValueAt() method. Bug similar to this one: 4191160 Suggested fix makes my problems disappear.

      Exception occurred during event dispatching:
      java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
      at java.util.Vector.elementAt(Vector.java:445)
      at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:673)
      at javax.swing.JTable.getValueAt(JTable.java:1714)
      at javax.swing.JTable.prepareRenderer(JTable.java:3530)

      Attachments

        Activity

          People

            pmilnesunw Philip Milne (Inactive)
            collins Gary Collins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: