java.lang.RuntimeException: Internal graphics not initialized yet

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by JakubValtar
, 1 year ago
Internal graphics not initialized yet
via Stack Overflow by josephino
, 1 month ago
Internal graphics not initialized yet
via Stack Overflow by josephino
, 2 months ago
java.lang.RuntimeException: Internal graphics not initialized yet
at com.sun.glass.ui.Screen.getScreens(Screen.java:70)
at com.sun.glass.ui.Screen.getMainScreen(Screen.java:61)
at com.sun.javafx.font.PrismFontFactory.getSystemFontSize(PrismFontFactory.java:1911)
at com.sun.javafx.font.PrismFontLoader.getSystemFontSize(PrismFontLoader.java:240)
at javafx.scene.text.Font.getDefaultSystemFontSize(Font.java:71)
at javafx.scene.text.Font.getDefault(Font.java:86)
at javafx.scene.canvas.GraphicsContext$State.init(GraphicsContext.java:540)
at javafx.scene.canvas.GraphicsContext$State.(GraphicsContext.java:530)
at javafx.scene.canvas.GraphicsContext.(GraphicsContext.java:504)
at javafx.scene.canvas.Canvas.getGraphicsContext2D(Canvas.java:136)
at processing.javafx.PSurfaceFX.(PSurfaceFX.java:64)
at processing.javafx.PGraphicsFX2D.createSurface(PGraphicsFX2D.java:111)
at processing.core.PApplet.initSurface(PApplet.java:10269)
at processing.core.PApplet.runSketch(PApplet.java:10207)
at processing.core.PApplet.main(PApplet.java:9969)

Users with the same issue

Once, 7 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.