-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
1) Drop an AnchorPane
2) Drop an ImageView
3) Drop an image from the desktop to the ImageView
=> the exception below is raised
java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.treeview.HierarchyTreeViewController.select(HierarchyTreeViewController.java:117)
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.select(AbstractHierarchyPanelController.java:360)
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.editorSelectionDidChange(AbstractHierarchyPanelController.java:568)
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.sceneGraphRevisionDidChange(AbstractHierarchyPanelController.java:489)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$3.changed(AbstractPanelController.java:213)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$3.changed(AbstractPanelController.java:209)
at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:347)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.IntegerPropertyBase.fireValueChangedEvent(IntegerPropertyBase.java:106)
at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)
at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:146)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.refreshSceneGraph(FXOMDocument.java:274)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.endUpdate(FXOMDocument.java:254)
at com.oracle.javafx.scenebuilder.kit.editor.job.BatchJob.execute(BatchJob.java:120)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:181)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:70)
at com.oracle.javafx.scenebuilder.kit.editor.drag.DragController.end(DragController.java:120)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture.dragDoneOnGlassLayer(DragGesture.java:412)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture.dragExitedGlassLayer(DragGesture.java:401)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture.access$300(DragGesture.java:75)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture$3.handle(DragGesture.java:135)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture$3.handle(DragGesture.java:131)
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.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.handleExitEnter(Scene.java:3185)
at javafx.scene.Scene$DnDGesture.processTargetDrop(Scene.java:3157)
at javafx.scene.Scene$DnDGesture.access$6400(Scene.java:2896)
at javafx.scene.Scene$DropTargetListener.drop(Scene.java:2860)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$3.run(GlassSceneDnDEventHandler.java:89)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$3.run(GlassSceneDnDEventHandler.java:85)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(GlassSceneDnDEventHandler.java:85)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(GlassViewEventHandler.java:586)
at com.sun.glass.ui.View.handleDragDrop(View.java:683)
at com.sun.glass.ui.View.notifyDragDrop(View.java:998)
2) Drop an ImageView
3) Drop an image from the desktop to the ImageView
=> the exception below is raised
java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.treeview.HierarchyTreeViewController.select(HierarchyTreeViewController.java:117)
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.select(AbstractHierarchyPanelController.java:360)
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.editorSelectionDidChange(AbstractHierarchyPanelController.java:568)
at com.oracle.javafx.scenebuilder.kit.editor.panel.hierarchy.AbstractHierarchyPanelController.sceneGraphRevisionDidChange(AbstractHierarchyPanelController.java:489)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$3.changed(AbstractPanelController.java:213)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$3.changed(AbstractPanelController.java:209)
at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:347)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.IntegerPropertyBase.fireValueChangedEvent(IntegerPropertyBase.java:106)
at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)
at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:146)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.refreshSceneGraph(FXOMDocument.java:274)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.endUpdate(FXOMDocument.java:254)
at com.oracle.javafx.scenebuilder.kit.editor.job.BatchJob.execute(BatchJob.java:120)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:181)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:70)
at com.oracle.javafx.scenebuilder.kit.editor.drag.DragController.end(DragController.java:120)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture.dragDoneOnGlassLayer(DragGesture.java:412)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture.dragExitedGlassLayer(DragGesture.java:401)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture.access$300(DragGesture.java:75)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture$3.handle(DragGesture.java:135)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.gesture.DragGesture$3.handle(DragGesture.java:131)
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.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.handleExitEnter(Scene.java:3185)
at javafx.scene.Scene$DnDGesture.processTargetDrop(Scene.java:3157)
at javafx.scene.Scene$DnDGesture.access$6400(Scene.java:2896)
at javafx.scene.Scene$DropTargetListener.drop(Scene.java:2860)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$3.run(GlassSceneDnDEventHandler.java:89)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$3.run(GlassSceneDnDEventHandler.java:85)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(GlassSceneDnDEventHandler.java:85)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(GlassViewEventHandler.java:586)
at com.sun.glass.ui.View.handleDragDrop(View.java:683)
at com.sun.glass.ui.View.notifyDragDrop(View.java:998)