com.oracle.javafx.authoring.persist.FXMLDocument$FxmlParseException: Failed to load FXML file

netbeans.org | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bug 222295 – JavaFX maven project doesn't enable Scene Builder Integration

    netbeans.org | 7 months ago
    com.oracle.javafx.authoring.persist.FXMLDocument$FxmlParseException: Failed to load FXML file

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at javafx.fxml.JavaFXBuilderFactory.createTypeBuilder()
    2. javafx.fxml
      JavaFXBuilderFactory.getBuilder
      1. javafx.fxml.JavaFXBuilderFactory.createTypeBuilder(JavaFXBuilderFactory.java:159)
      2. javafx.fxml.JavaFXBuilderFactory.getBuilder(JavaFXBuilderFactory.java:137)
      2 frames
    3. com.oracle.javafx
      SceneBuilderJavaFXBuilderFactory.getBuilder
      1. com.oracle.javafx.authoring.persist.SceneBuilderJavaFXBuilderFactory.getBuilder(SceneBuilderJavaFXBuilderFactory.java:68)
      1 frame
    4. javafx.fxml
      FXMLLoader.load
      1. javafx.fxml.FXMLLoader$RootElement.constructValue(FXMLLoader.java:1102)
      2. javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:565)
      3. javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2348)
      4. javafx.fxml.FXMLLoader.load(FXMLLoader.java:2164)
      4 frames
    5. com.oracle.javafx
      Main.start
      1. com.oracle.javafx.authoring.persist.FXMLDocument$2.call(FXMLDocument.java:301)
      2. com.oracle.javafx.authoring.util.Utils.withFXMLDefaultClassLoader(Utils.java:2216)
      3. com.oracle.javafx.authoring.persist.FXMLDocument.load(FXMLDocument.java:298)
      4. com.oracle.javafx.authoring.persist.FXMLDocument.checkLayout(FXMLDocument.java:239)
      5. com.oracle.javafx.authoring.persist.FXMLDocument.checkLayout(FXMLDocument.java:224)
      6. com.oracle.javafx.authoring.Project.forFxml(Project.java:835)
      7. com.oracle.javafx.authoring.Project.forFxml(Project.java:807)
      8. com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout(DesignerTool.java:197)
      9. com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout(DesignerTool.java:185)
      10. com.oracle.javafx.authoring.DesignerTool.commonInit(DesignerTool.java:513)
      11. com.oracle.javafx.authoring.DesignerTool.init(DesignerTool.java:457)
      12. com.oracle.javafx.authoring.SceneBuilderLauncher$RunningWithJMXInstance.launch(SceneBuilderLauncher.java:71)
      13. com.oracle.javafx.authoring.Main.start(Main.java:72)
      13 frames
    6. com.sun.javafx
      PlatformImpl$4$1.run
      1. com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
      2. com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:216)
      3. com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
      4. com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
      4 frames
    7. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    8. com.sun.javafx
      PlatformImpl$4.run
      1. com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
      1 frame
    9. com.sun.glass
      WinApplication$3$1.run
      1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
      2. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      3. com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17)
      4. com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67)
      4 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame