java.lang.NullPointerException: Root cannot be null

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Javafx exception on startup

    GitHub | 2 years ago | TPolzer
    java.lang.NullPointerException: Root cannot be null

  1. Gatgeagent 1 times, last 4 months ago
4 unregistered visitors

Root Cause Analysis

  1. java.lang.NullPointerException

    Root cannot be null

    at javafx.scene.Scene.<init>()
  2. javafx.scene
    Scene.<init>
    1. javafx.scene.Scene.<init>(Scene.java:336)
    2. javafx.scene.Scene.<init>(Scene.java:223)
    2 frames
  3. fr.project.gui
    Main.start
    1. fr.project.gui.Main.start(Main.java:44)
    1 frame
  4. com.sun.javafx
    PlatformImpl.lambda$null$173
    1. com.sun.javafx.applet.FXApplet2$2.run(FXApplet2.java:134)
    2. com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    2 frames
  5. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  6. com.sun.javafx
    PlatformImpl.lambda$runLater$174
    1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    1 frame
  7. com.sun.glass
    GtkApplication.lambda$null$49
    1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    2. com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    3. com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    3 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame