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

Binding to an ObservableValue that resolves to null generates an NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx

      If a DoubleProperty is bound to an ObservableValue that resolves to null, an NPE is thrown when the DoubleProperty is evaluated. The correct behavior would be to avoid the exception and the DoubleProperty has to be set to 0.0 instead.

      The same bug can probably be found for other types as well.

            mheinrichs Michael Heinrichs (Inactive)
            mheinrichs Michael Heinrichs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: