-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
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)
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)