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

NPE in TableViewBehaviorBase

XMLWordPrintable

      NPE:
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at javafx.controls/com.sun.javafx.scene.control.behavior.TableViewBehaviorBase.activate(TableViewBehaviorBase.java:890)
      at javafx.controls/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)

      The line of code is:
      boolean isEditable = isControlEditable() && cell.getTableColumn().isEditable();

      Based on earlier code, the cell.getTableColumn() call is returning null in some cases.

      This only occurs in an uncommon situation, so it isn't high priority, but is an easy fix nonetheless.

            Unassigned Unassigned
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: