Binding to an ObservableValue that resolves to null generates an NPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 7u6
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported: