java.lang.NullPointerException: This exception has no message.


Solutions on the web

Solution icon of github
via GitHub by mmalczyk
, 9 months ago
This exception has no message.

Solution icon of github
This exception has no message.

Stack trace

java.lang.NullPointerException
	at com.sun.javafx.text.PrismTextLayout.buildRuns(PrismTextLayout.java:772)
	at com.sun.javafx.text.PrismTextLayout.layout(PrismTextLayout.java:1021)
	at com.sun.javafx.text.PrismTextLayout.ensureLayout(PrismTextLayout.java:223)
	at com.sun.javafx.text.PrismTextLayout.getBounds(PrismTextLayout.java:246)
	at javafx.scene.text.Text.getLogicalBounds(Text.java:358)
	at javafx.scene.text.Text.impl_computeLayoutBounds(Text.java:1115)
	at javafx.scene.Node$12.computeBounds(Node.java:3223)
	at javafx.scene.Node$LazyBoundsProperty.get(Node.java:9306)
	at javafx.scene.Node$LazyBoundsProperty.get(Node.java:9276)
	at javafx.scene.Node.getLayoutBounds(Node.java:3238)
	at javafx.scene.Node.prefHeight(Node.java:2768)
	at javafx.scene.Node.minHeight(Node.java:2710)
	at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:1762)
	at javafx.scene.layout.GridPane.computePrefHeights(GridPane.java:1424)
	at javafx.scene.layout.GridPane.layoutChildren(GridPane.java:1690)
	at javafx.scene.Parent.layout(Parent.java:1087)
	at javafx.scene.Scene.doLayoutPass(Scene.java:552)
	at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2397)
	at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
	at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:510)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
	at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
	at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 1 year ago
3 times, 8 months ago