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

SceneBuilderKit: EditorUtils: FXML LoadException in OSGi environments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 8u51
    • javafx
    • Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
      Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
      System: Linux version 3.13.0-62-generic running on amd64; UTF-8; de_CH (nb)

      Used JAR: apps/scenebuilder/SceneBuilderKit/dist/SceneBuilderKit.jar
      From Tag: 8u60-b27

      In an OSGi environment I'm getting the following exception:

      Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: Failed to load /com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleAutoSuggestEditor.fxml
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.EditorUtils.loadFxml(EditorUtils.java:477)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.EditorUtils.loadFxml(EditorUtils.java:457)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.AutoSuggestEditor.preInit(AutoSuggestEditor.java:127)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.AutoSuggestEditor.<init>(AutoSuggestEditor.java:98)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.BoundedDoubleEditor.<init>(BoundedDoubleEditor.java:97)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.makeOrResetPropertyEditor(InspectorPanelController.java:1794)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.makePropertyEditor(InspectorPanelController.java:1722)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.getPropertyEditor(InspectorPanelController.java:1383)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.getInitializedPropertyEditor(InspectorPanelController.java:798)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.buildSection(InspectorPanelController.java:769)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.buildExpandedSection(InspectorPanelController.java:692)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.rebuild(InspectorPanelController.java:657)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.updateInspector(InspectorPanelController.java:606)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.lambda$controllerDidLoadFxml$122(InspectorPanelController.java:576)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
      at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:105)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
      at com.oracle.javafx.scenebuilder.kit.editor.drag.DragController.end(DragController.java:137)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryPanelController.lambda$startListeningToDrop$262(LibraryPanelController.java:630)
      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.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      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.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      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:198)
      at javafx.scene.Scene$DnDGesture.processDropEnd(Scene.java:3075)
      at javafx.scene.Scene$DnDGesture.access$6800(Scene.java:2909)
      at javafx.scene.Scene$DragSourceListener.dragDropEnd(Scene.java:3320)
      at com.sun.javafx.tk.quantum.GlassScene$1.lambda$actionPerformed$290(GlassScene.java:254)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassScene$1.actionPerformed(GlassScene.java:251)
      at com.sun.glass.ui.Clipboard.actionPerformed(Clipboard.java:173)
      at com.sun.glass.ui.gtk.GtkDnDClipboard.pushToSystem(GtkDnDClipboard.java:41)
      at com.sun.glass.ui.SystemClipboard.flush(SystemClipboard.java:51)
      at com.sun.glass.ui.ClipboardAssistance.flush(ClipboardAssistance.java:59)
      at com.sun.javafx.tk.quantum.QuantumClipboard.flush(QuantumClipboard.java:274)
      at com.sun.javafx.tk.quantum.QuantumToolkit.startDrag(QuantumToolkit.java:1224)
      at javafx.scene.Scene$DnDGesture.dragDetectedProcessed(Scene.java:2953)
      at javafx.scene.Scene$DnDGesture.process(Scene.java:3022)
      at javafx.scene.Scene$DnDGesture.access$8200(Scene.java:2909)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3773)
      at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:352)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$355(GlassViewEventHandler.java:388)
      at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
      at com.sun.glass.ui.View.notifyMouse(View.java:937)
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
      at com.sun.glass.ui.gtk.GtkApplication.lambda$null$50(GtkApplication.java:139)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: javafx.fxml.LoadException: DoubleField is not a valid type.
      /com/oracle/javafx/scenebuilder/kit/editor/panel/inspector/editors/DoubleAutoSuggestEditor.fxml:44

      at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2597)
      at javafx.fxml.FXMLLoader.createElement(FXMLLoader.java:2774)
      at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2704)
      at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2527)
      at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.EditorUtils.loadFxml(EditorUtils.java:475)
      ... 77 more
       

            jgiles Jonathan Giles
            puce Florian Brunner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: