1 Reply Latest reply: Jun 24, 2014 1:54 AM by Shlomo belleli RSS

    NullPointerException thrown but not sure of cause

    173918bb-bd1c-47f7-9b07-332c6b78d4f3

      Hey There.

       

      I've written an application and when soak test it a NullPointerException is thrown at different run-times (1hr to 3days) but the log doesn't show the cause in my code. Anyone got an idea of cause or how to find it? I'm using eclipse in debug mode.

       

      java.lang.NullPointerException

        at javafx.scene.control.TextArea$TextAreaContent.get(Unknown Source)

        at javafx.scene.control.TextArea$TextAreaContent.get(Unknown Source)

        at javafx.scene.control.TextArea$TextAreaContent.get(Unknown Source)

        at javafx.scene.control.TextInputControl$TextProperty.get(Unknown Source)

        at javafx.scene.control.TextInputControl$2.computeValue(Unknown Source)

        at javafx.beans.binding.IntegerBinding.get(Unknown Source)

        at javafx.beans.binding.IntegerExpression.intValue(Unknown Source)

        at javafx.beans.property.IntegerPropertyBase.get(Unknown Source)

        at javafx.scene.control.TextInputControl.getLength(Unknown Source)

        at com.sun.javafx.scene.control.skin.TextAreaSkin$ContentView.layoutChildren(Unknown Source)

        at javafx.scene.Parent.layout(Unknown Source)

        at javafx.scene.Parent.layout(Unknown Source)

        at javafx.scene.Scene.layoutDirtyRoots(Unknown Source)

        at javafx.scene.Scene.doLayoutPass(Unknown Source)

        at javafx.scene.Scene.access$3900(Unknown Source)

        at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)

        at com.sun.javafx.tk.Toolkit$5.run(Unknown Source)

        at com.sun.javafx.tk.Toolkit$5.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at com.sun.javafx.tk.Toolkit.runPulse(Unknown Source)

        at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)

        at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)

        at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(Unknown Source)

        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)

        at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)

        at com.sun.glass.ui.win.WinApplication$3$1.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

       

      Cheers