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

NullPointerException in JTable$AccessibleJTable.tableChanged in 1.3 with accessi

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • beta
    • x86
    • windows_nt
    • Not verified



      Name: skT45625 Date: 05/10/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      <pre>
      I use tablemodel.fireTableChanged(null) to signal the model that all rows and
      columns have potentially changed. This has worked in version 1.2.2. It works
      fine in 1.3 when not using accessibility. In version 1.3, when using
      accessibility (AccessBridge 1.0), a NullPointerException is being thrown:

      Exception occurred during event dispatching:
      java.lang.NullPointerException
      at javax.swing.JTable$AccessibleJTable.tableChanged(Unknown Source)
      at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
      at MTRTimeEntry.customizeColumns(Unknown Source)


      The tableChanged method in JTable$AccessibleJTable class in the version 1.3 has
      code that has been added since version 1.2.2 that would cause this exception.
      Specifically, the statement in line 3942:

      int firstColumn = e.getColumn();


      </pre>
      (Review ID: 104626)
      ======================================================================

            busersunw Btplusnull User (Inactive)
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: