Occasionally a NullPointerException occurrs when scrolling (fast) in a TreeView that contains TreeItems with TextAreas (treeItem.setGraphic(new TextArea(text)); ). After that no user input is possible any more.
java.lang.NullPointerException
at com.sun.javafx.scene.control.skin.TextAreaSkin.scrollBoundsToVisible(TextAreaSkin.java:998)
at com.sun.javafx.scene.control.skin.TextAreaSkin.scrollCaretToVisible(TextAreaSkin.java:990)
at com.sun.javafx.scene.control.skin.TextAreaSkin.access$1100(TextAreaSkin.java:74)
at com.sun.javafx.scene.control.skin.TextAreaSkin$ContentView.layoutChildren(TextAreaSkin.java:303)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:516)
at javafx.scene.Scene.doLayoutPass(Scene.java:487)
at javafx.scene.Scene.access$3900(Scene.java:170)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2203)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Thread.java:722)
java.lang.NullPointerException
at com.sun.javafx.scene.control.skin.TextAreaSkin.scrollBoundsToVisible(TextAreaSkin.java:998)
at com.sun.javafx.scene.control.skin.TextAreaSkin.scrollCaretToVisible(TextAreaSkin.java:990)
at com.sun.javafx.scene.control.skin.TextAreaSkin.access$1100(TextAreaSkin.java:74)
at com.sun.javafx.scene.control.skin.TextAreaSkin$ContentView.layoutChildren(TextAreaSkin.java:303)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:516)
at javafx.scene.Scene.doLayoutPass(Scene.java:487)
at javafx.scene.Scene.access$3900(Scene.java:170)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2203)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Thread.java:722)