Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097399

SB fails to load the fxml_tableview.fxml example from the FXML Tutorial

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      [This issue was reported by Cindy who is updating the FXML Tutorial documentation]

      Loading fails with following exception:

      java.io.IOException: javafx.fxml.LoadException:
      /Users/svienot/Desktop/Samples/FXMLTableView/src/fxmltableview/fxml_tableview.fxml:91

      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:92)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.<init>(FXOMDocument.java:80)
      at com.oracle.javafx.scenebuilder.kit.editor.EditorController.updateFxomDocument(EditorController.java:2235)
      at com.oracle.javafx.scenebuilder.kit.editor.EditorController.setFxmlTextAndLocation(EditorController.java:614)
      at com.oracle.javafx.scenebuilder.app.DocumentWindowController.loadFromFile(DocumentWindowController.java:393)
      at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.performOpenFiles(SceneBuilderApp.java:484)
      at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.performOpenFile(SceneBuilderApp.java:431)
      at com.oracle.javafx.scenebuilder.app.SceneBuilderApp.performControlAction(SceneBuilderApp.java:136)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$ApplicationControlActionController.perform(MenuBarController.java:1545)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.handleOnActionMenu(MenuBarController.java:1080)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController.access$800(MenuBarController.java:88)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$20.handle(MenuBarController.java:1073)
      at com.oracle.javafx.scenebuilder.app.menubar.MenuBarController$20.handle(MenuBarController.java:1069)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
      at javafx.event.Event.fireEvent(Event.java:204)
      at javafx.scene.control.MenuItem.fire(MenuItem.java:462)
      at com.sun.javafx.scene.control.GlobalMenuAdapter$5.handle(GlobalMenuAdapter.java:158)
      at com.sun.javafx.scene.control.GlobalMenuAdapter$5.handle(GlobalMenuAdapter.java:156)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:204)
      at javafx.scene.control.MenuItem.fire(MenuItem.java:462)
      at com.sun.javafx.tk.quantum.GlassSystemMenu$6.action(GlassSystemMenu.java:234)
      Caused by: javafx.fxml.LoadException:
      /Users/svienot/Desktop/Samples/FXMLTableView/src/fxmltableview/fxml_tableview.fxml:91

      at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2617)
      at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2595)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.load(FXOMLoader.java:89)
      ... 33 more
      Caused by: java.lang.IllegalStateException
      at com.oracle.javafx.scenebuilder.kit.fxom.TransientObject.makeFxomObject(TransientObject.java:157)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMLoader.endElement(FXOMLoader.java:269)
      at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2842)
      at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)
      ... 35 more

            eleponn Eric Le Ponner
            svienot Simon Vienot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: