Properties
Scott Palmer
swpalmer at gmail.com
Fri Apr 5 06:24:38 PDT 2013
I just noticed this:
04-05 07:42:52 INFO beans [JavaFX Application Thread]: Attempt to set long
property to null, using default value instead.
java.lang.NullPointerException
at javafx.beans.property.LongProperty.setValue(LongProperty.java:63)
at
javafx.beans.property.LongPropertyBase.setValue(LongPropertyBase.java:50)
..which kind of sucks because I wanted a nullable property, but anyway
that's not what I wanted to bring up here.
It mentions "using default value instead" but I just looked over the docs
and I can't find a reference to the idea of a "default value". I haven't
checked yet, but I assume either the value remains unchanged when set to
null or it is set to zero. In either case the docs should probably
clarify this.
Scott
More information about the openjfx-dev
mailing list