Assertion error when DND custom component

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: 8
    • Component/s: javafx

      Open Unlock.fxml from unlock custom sample.
      The Keypad custom component is not resolved and a warning icon is displayed => OK.

      Now import the Unlock jar so the Keypad component gets resolved (warning icon disappears).
      Try to DND the Keypad component. One get the stack below.

      If you restart SB (with the Unlock jar imported), then you will not get the exception and the DND works fine.


      java.lang.AssertionError
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMInstance.newInstance(FXOMInstance.java:141)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newObject(FXOMNodes.java:164)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMNodes.newDocument(FXOMNodes.java:275)
      at com.oracle.javafx.scenebuilder.kit.fxom.FXOMArchive.<init>(FXOMArchive.java:56)
      at com.oracle.javafx.scenebuilder.kit.metadata.util.ClipboardEncoder.makeEncoding(ClipboardEncoder.java:78)
      at com.oracle.javafx.scenebuilder.kit.editor.drag.source.DocumentDragSource.makeClipboardContent(DocumentDragSource.java:192)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.handleOnDragDetected(AbstractHierarchyPanelController.java:1050)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.access$800(AbstractHierarchyPanelController.java:97)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController$8.handle(AbstractHierarchyPanelController.java:997)
      at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController$8.handle(AbstractHierarchyPanelController.java:994)
      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.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.Scene$DnDGesture.fireEvent(Scene.java:2920)
      at javafx.scene.Scene$DnDGesture.process(Scene.java:2999)
      at javafx.scene.Scene$DnDGesture.access$8400(Scene.java:2896)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3762)
      at javafx.scene.Scene$MouseHandler.access$1800(Scene.java:3471)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1695)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2486)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:314)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:243)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:345)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:526)
      at com.sun.glass.ui.View.notifyMouse(View.java:898)

            Assignee:
            Eric Le Ponner
            Reporter:
            Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: