java.lang.RuntimeException: Internal graphics not initialized yet

GitHub | JakubValtar | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    JavaFX sketches don't run, throw RuntimeException

    GitHub | 2 years ago | JakubValtar
    java.lang.RuntimeException: Internal graphics not initialized yet
  2. 0

    Internal graphics not initialized yet when starting JavaFX code from RCP View

    Stack Overflow | 8 months ago | Peter S
    java.lang.RuntimeException: Internal graphics not initialized yet
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Internal graphics not initialized yet

      at com.sun.glass.ui.Screen.getScreens()
    2. com.sun.glass
      Screen.getMainScreen
      1. com.sun.glass.ui.Screen.getScreens(Screen.java:70)
      2. com.sun.glass.ui.Screen.getMainScreen(Screen.java:61)
      2 frames
    3. com.sun.javafx
      PrismFontLoader.getSystemFontSize
      1. com.sun.javafx.font.PrismFontFactory.getSystemFontSize(PrismFontFactory.java:1911)
      2. com.sun.javafx.font.PrismFontLoader.getSystemFontSize(PrismFontLoader.java:240)
      2 frames
    4. javafx.scene.text
      Font.getDefault
      1. javafx.scene.text.Font.getDefaultSystemFontSize(Font.java:71)
      2. javafx.scene.text.Font.getDefault(Font.java:86)
      2 frames
    5. javafx.scene.canvas
      Canvas.getGraphicsContext2D
      1. javafx.scene.canvas.GraphicsContext$State.init(GraphicsContext.java:540)
      2. javafx.scene.canvas.GraphicsContext$State.<init>(GraphicsContext.java:530)
      3. javafx.scene.canvas.GraphicsContext.<init>(GraphicsContext.java:504)
      4. javafx.scene.canvas.Canvas.getGraphicsContext2D(Canvas.java:136)
      4 frames
    6. processing.javafx
      PGraphicsFX2D.createSurface
      1. processing.javafx.PSurfaceFX.<init>(PSurfaceFX.java:64)
      2. processing.javafx.PGraphicsFX2D.createSurface(PGraphicsFX2D.java:111)
      2 frames
    7. processing.core
      PApplet.main
      1. processing.core.PApplet.initSurface(PApplet.java:10269)
      2. processing.core.PApplet.runSketch(PApplet.java:10207)
      3. processing.core.PApplet.main(PApplet.java:9969)
      3 frames