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
      SceneBuilderMgt$1.run
      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.initFromRemote(DesignerTool.java:436)
      12. com.oracle.javafx.authoring.mbeans.SceneBuilderMgt$1.run(SceneBuilderMgt.java:31)
      12 frames
    6. com.sun.javafx
      PlatformImpl$4$1.run
      1. com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
      2. com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:176)
      2 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
      EventLoop.enter
      1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
      2. com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method)
      3. com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(WinApplication.java:96)
      4. com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:384)
      5. com.sun.glass.ui.EventLoop.enter(EventLoop.java:83)
      5 frames
    10. com.sun.javafx
      QuantumToolkit.enterNestedEventLoop
      1. com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:521)
      1 frame
    11. javafx.stage
      Stage.showAndWait
      1. javafx.stage.Stage.showAndWait(Stage.java:397)
      1 frame
    12. com.oracle.javafx
      AlertDialog.actionButtonPressed
      1. com.oracle.javafx.authoring.util.dialog.AbstractModalDialog.showAndWait(AbstractModalDialog.java:84)
      2. com.oracle.javafx.authoring.util.dialog.ErrorDialog.showDetailsDialog(ErrorDialog.java:72)
      3. com.oracle.javafx.authoring.util.dialog.ErrorDialog.access$000(ErrorDialog.java:15)
      4. com.oracle.javafx.authoring.util.dialog.ErrorDialog$1.run(ErrorDialog.java:30)
      5. com.oracle.javafx.authoring.util.dialog.AlertDialog.actionButtonPressed(AlertDialog.java:72)
      5 frames
    13. Java RT
      MethodUtil.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
      6. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      8. java.lang.reflect.Method.invoke(Method.java:606)
      9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
      9 frames
    14. javafx.fxml
      FXMLLoader$ControllerMethodEventHandler.handle
      1. javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1444)
      1 frame
    15. com.sun.javafx
      EventUtil.fireEvent
      1. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69)
      2. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217)
      3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170)
      4. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
      5. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
      6. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      7. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      8. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      9. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      10. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      11. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53)
      12. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:28)
      12 frames
    16. javafx.event
      Event.fireEvent
      1. javafx.event.Event.fireEvent(Event.java:171)
      1 frame
    17. javafx.scene
      Node.fireEvent
      1. javafx.scene.Node.fireEvent(Node.java:6867)
      1 frame
    18. FXSampler
      Button.fire
      1. javafx.scene.control.Button.fire(Button.java:179)
      1 frame
    19. com.sun.javafx
      ButtonBehavior.mouseReleased
      1. com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:193)
      1 frame
    20. FXSampler
      SkinBase$4.handle
      1. com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:336)
      2. com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:329)
      2 frames
    21. com.sun.javafx
      EventUtil.fireEvent
      1. com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:64)
      2. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217)
      3. com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170)
      4. com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
      5. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
      6. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      7. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      8. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      9. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      10. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      11. com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
      12. com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      13. com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53)
      14. com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
      14 frames
    22. javafx.event
      Event.fireEvent
      1. javafx.event.Event.fireEvent(Event.java:171)
      1 frame
    23. javafx.scene
      Scene$ScenePeerListener.mouseEvent
      1. javafx.scene.Scene$MouseHandler.process(Scene.java:3311)
      2. javafx.scene.Scene$MouseHandler.process(Scene.java:3151)
      3. javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3106)
      4. javafx.scene.Scene.impl_processMouseEvent(Scene.java:1563)
      5. javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2248)
      5 frames
    24. com.sun.javafx
      GlassViewEventHandler$MouseEventNotification.run
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:250)
      2. com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:173)
      2 frames
    25. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    26. com.sun.javafx
      GlassViewEventHandler.handleMouseEvent
      1. com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:292)
      1 frame
    27. com.sun.glass
      EventLoop.enter
      1. com.sun.glass.ui.View.handleMouseEvent(View.java:530)
      2. com.sun.glass.ui.View.notifyMouse(View.java:924)
      3. com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method)
      4. com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(WinApplication.java:96)
      5. com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:384)
      6. com.sun.glass.ui.EventLoop.enter(EventLoop.java:83)
      6 frames
    28. com.sun.javafx
      QuantumToolkit.enterNestedEventLoop
      1. com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:521)
      1 frame
    29. javafx.stage
      Stage.showAndWait
      1. javafx.stage.Stage.showAndWait(Stage.java:397)
      1 frame
    30. com.oracle.javafx
      Main.start
      1. com.oracle.javafx.authoring.util.dialog.AbstractModalDialog.showAndWait(AbstractModalDialog.java:84)
      2. com.oracle.javafx.authoring.DesignerTool.showAndWaitDialog(DesignerTool.java:243)
      3. com.oracle.javafx.authoring.DesignerTool.showLoadError(DesignerTool.java:267)
      4. com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout(DesignerTool.java:232)
      5. com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout(DesignerTool.java:185)
      6. com.oracle.javafx.authoring.DesignerTool.commonInit(DesignerTool.java:513)
      7. com.oracle.javafx.authoring.DesignerTool.init(DesignerTool.java:457)
      8. com.oracle.javafx.authoring.SceneBuilderLauncher$RunningWithJMXInstance.launch(SceneBuilderLauncher.java:71)
      9. com.oracle.javafx.authoring.Main.start(Main.java:72)
      9 frames
    31. 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
    32. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    33. com.sun.javafx
      PlatformImpl$4.run
      1. com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:176)
      1 frame
    34. 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
    35. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame