During execution of a simple UI which updates a TextField based on a bound property, there are periodic NullPointerExceptions thrown with the following stack trace:
[java] java.lang.NullPointerException
[java] at com.sun.javafx.sg.prism.NGText.computeBoundsLogical(Unknown Source)
[java] at com.sun.javafx.sg.prism.NGText.computeContentBounds(Unknown Source)
[java] at com.sun.javafx.tk.quantum.PrismTextHelper.computeBounds(Unknown Source)
[java] at javafx.scene.text.Text.impl_computeGeomBounds(Unknown Source)
[java] at javafx.scene.Node.updateGeomBounds(Unknown Source)
[java] at javafx.scene.Node.getGeomBounds(Unknown Source)
[java] at javafx.scene.Node.impl_updatePG(Unknown Source)
[java] at javafx.scene.shape.Shape.impl_updatePG(Unknown Source)
[java] at javafx.scene.text.Text.impl_updatePG(Unknown Source)
[java] at javafx.scene.Node.impl_syncPGNode(Unknown Source)
[java] at javafx.scene.Scene$ScenePulseListener.synchronizeSceneNodes(Unknown Source)
[java] at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
[java] at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
[java] at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
[java] at com.sun.javafx.tk.quantum.QuantumToolkit$10.run(Unknown Source)
[java] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
[java] at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
[java] at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
[java] at java.lang.Thread.run(Thread.java:722)
The application is registered as a listener for notifications from a routine stored within a jar file. The routine within the jar file is executed in a separate thread from the JavaFX thread.
[java] java.lang.NullPointerException
[java] at com.sun.javafx.sg.prism.NGText.computeBoundsLogical(Unknown Source)
[java] at com.sun.javafx.sg.prism.NGText.computeContentBounds(Unknown Source)
[java] at com.sun.javafx.tk.quantum.PrismTextHelper.computeBounds(Unknown Source)
[java] at javafx.scene.text.Text.impl_computeGeomBounds(Unknown Source)
[java] at javafx.scene.Node.updateGeomBounds(Unknown Source)
[java] at javafx.scene.Node.getGeomBounds(Unknown Source)
[java] at javafx.scene.Node.impl_updatePG(Unknown Source)
[java] at javafx.scene.shape.Shape.impl_updatePG(Unknown Source)
[java] at javafx.scene.text.Text.impl_updatePG(Unknown Source)
[java] at javafx.scene.Node.impl_syncPGNode(Unknown Source)
[java] at javafx.scene.Scene$ScenePulseListener.synchronizeSceneNodes(Unknown Source)
[java] at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
[java] at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
[java] at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
[java] at com.sun.javafx.tk.quantum.QuantumToolkit$10.run(Unknown Source)
[java] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
[java] at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
[java] at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
[java] at java.lang.Thread.run(Thread.java:722)
The application is registered as a listener for notifications from a routine stored within a jar file. The routine within the jar file is executed in a separate thread from the JavaFX thread.