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

NumberAxis: NPE from tickLabelFontProperty().bind()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0
    • fx2.0
    • javafx
    • Win7/JDK6/FX-b34

      NPE from tickLabelFontProperty().bind() if ObjectProperty's value is null. Sample is attached.

      java.lang.NullPointerException
              at javafx.scene.text.Text$4.invalidated(Text.java:234)
              at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:62)
              at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:116)
              at javafx.scene.text.Text.setFont(Text.java:218)
              at javafx.scene.chart.Axis$5.invalidated(Axis.java:129)
              at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:62)
              at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:152)

            lnerad Ľubomír Nerád (Inactive)
            ogb Oleg Barbashov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: