Details
-
Bug
-
Resolution: Fixed
-
P2
-
8
-
MacOSX
Description
DnD a TableColumn from Library to a TableView in the Content Panel fails.
We get the following exception:
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.TableViewDesignInfoX.getColumnBounds(TableViewDesignInfoX.java:34)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.TableColumnHandles.getSceneGraphObjectBounds(TableColumnHandles.java:44)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.AbstractGenericHandles.layoutDecoration(AbstractGenericHandles.java:129)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration$1.changed(AbstractDecoration.java:57)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration$1.changed(AbstractDecoration.java:50)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.ReadOnlyObjectWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyObjectWrapper.java:176)
at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:142)
at javafx.scene.Node$ReadOnlyObjectWrapperManualFire.fireSuperValueChangedEvent(Node.java:794)
at javafx.scene.Node.invalidatedScenes(Node.java:843)
at javafx.scene.Node.setScenes(Node.java:852)
at javafx.scene.Parent$1.onChanged(Parent.java:274)
at com.sun.javafx.collections.TrackableObservableList$1.onChanged(TrackableObservableList.java:48)
at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:315)
DragController.setDropTarget: getDropTarget()=ContainerZDropTarget{targetContainer=FXOMInstance[tagName=TableView], beforeChild=null}
DragController.setDropTarget: dropAccepted=true
DragController.setDropTarget: acceptedTransferModes=1
DragController.end
at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:72)
at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)
at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)
at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155)
at java.util.AbstractList.add(AbstractList.java:108)
at com.sun.javafx.collections.VetoableListDecorator.add(VetoableListDecorator.java:200)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.updateHandles(EditModeController.java:287)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.editorSelectionDidChange(EditModeController.java:103)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.ContentPanelController.editorSelectionDidChange(ContentPanelController.java:558)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$4.changed(AbstractPanelController.java:174)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$4.changed(AbstractPanelController.java:171)
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.editor.selection.Selection.incrementRevision(Selection.java:307)
at com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.endUpdate(Selection.java:275)
at com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.select(Selection.java:112)
at com.oracle.javafx.scenebuilder.kit.editor.drag.DragController.end(DragController.java:71)
at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryPanelController$8.handle(LibraryPanelController.java:499)
at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryPanelController$8.handle(LibraryPanelController.java:494)
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.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:203)
at javafx.scene.Scene$DnDGesture.processDropEnd(Scene.java:2951)
at javafx.scene.Scene$DnDGesture.access$6800(Scene.java:2801)
at javafx.scene.Scene$DragSourceListener.dragDropEnd(Scene.java:3180)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$6.run(GlassSceneDnDEventHandler.java:139)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$6.run(GlassSceneDnDEventHandler.java:135)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragEnd(GlassSceneDnDEventHandler.java:135)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragEnd(GlassViewEventHandler.java:634)
at com.sun.glass.ui.View.handleDragEnd(View.java:645)
at com.sun.glass.ui.View.notifyDragEnd(View.java:959)
at com.sun.glass.ui.mac.MacPasteboard._putItemsFromArray(Native Method)
at com.sun.glass.ui.mac.MacPasteboard.putItemsFromArray(MacPasteboard.java:143)
at com.sun.glass.ui.mac.MacPasteboard.putItems(MacPasteboard.java:165)
at com.sun.glass.ui.mac.MacSystemClipboard.pushToSystem(MacSystemClipboard.java:223)
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:260)
at com.sun.javafx.tk.quantum.QuantumToolkit.startDrag(QuantumToolkit.java:1147)
at javafx.scene.Scene$DnDGesture.dragDetectedProcessed(Scene.java:2845)
at javafx.scene.Scene$DnDGesture.process(Scene.java:2906)
at javafx.scene.Scene$DnDGesture.access$8500(Scene.java:2801)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3637)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3391)
at javafx.scene.Scene$MouseHandler.access$1800(Scene.java:3342)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1626)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2401)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:322)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:247)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:364)
at com.sun.glass.ui.View.handleMouseEvent(View.java:525)
at com.sun.glass.ui.View.notifyMouse(View.java:891)
*** pgnodes.size validatePG() [0] != children.size() [1]
java.lang.AssertionError: validation of PGGroup children failed
at javafx.scene.Parent.validatePG(Parent.java:183)
at javafx.scene.Parent.impl_updatePeer(Parent.java:141)
at javafx.scene.Node.impl_syncPeer(Node.java:488)
at javafx.scene.Scene$ScenePulseListener.synchronizeSceneNodes(Scene.java:2203)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2323)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:329)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:479)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:459)
at com.sun.javafx.tk.quantum.QuantumToolkit$13.run(QuantumToolkit.java:326)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
We get the following exception:
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.TableViewDesignInfoX.getColumnBounds(TableViewDesignInfoX.java:34)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.TableColumnHandles.getSceneGraphObjectBounds(TableColumnHandles.java:44)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.handles.AbstractGenericHandles.layoutDecoration(AbstractGenericHandles.java:129)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration$1.changed(AbstractDecoration.java:57)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.AbstractDecoration$1.changed(AbstractDecoration.java:50)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:176)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.ReadOnlyObjectWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyObjectWrapper.java:176)
at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:142)
at javafx.scene.Node$ReadOnlyObjectWrapperManualFire.fireSuperValueChangedEvent(Node.java:794)
at javafx.scene.Node.invalidatedScenes(Node.java:843)
at javafx.scene.Node.setScenes(Node.java:852)
at javafx.scene.Parent$1.onChanged(Parent.java:274)
at com.sun.javafx.collections.TrackableObservableList$1.onChanged(TrackableObservableList.java:48)
at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:315)
DragController.setDropTarget: getDropTarget()=ContainerZDropTarget{targetContainer=FXOMInstance[tagName=TableView], beforeChild=null}
DragController.setDropTarget: dropAccepted=true
DragController.setDropTarget: acceptedTransferModes=1
DragController.end
at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:72)
at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)
at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)
at javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155)
at java.util.AbstractList.add(AbstractList.java:108)
at com.sun.javafx.collections.VetoableListDecorator.add(VetoableListDecorator.java:200)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.updateHandles(EditModeController.java:287)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode.EditModeController.editorSelectionDidChange(EditModeController.java:103)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.ContentPanelController.editorSelectionDidChange(ContentPanelController.java:558)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$4.changed(AbstractPanelController.java:174)
at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$4.changed(AbstractPanelController.java:171)
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.editor.selection.Selection.incrementRevision(Selection.java:307)
at com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.endUpdate(Selection.java:275)
at com.oracle.javafx.scenebuilder.kit.editor.selection.Selection.select(Selection.java:112)
at com.oracle.javafx.scenebuilder.kit.editor.drag.DragController.end(DragController.java:71)
at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryPanelController$8.handle(LibraryPanelController.java:499)
at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryPanelController$8.handle(LibraryPanelController.java:494)
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.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:203)
at javafx.scene.Scene$DnDGesture.processDropEnd(Scene.java:2951)
at javafx.scene.Scene$DnDGesture.access$6800(Scene.java:2801)
at javafx.scene.Scene$DragSourceListener.dragDropEnd(Scene.java:3180)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$6.run(GlassSceneDnDEventHandler.java:139)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler$6.run(GlassSceneDnDEventHandler.java:135)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragEnd(GlassSceneDnDEventHandler.java:135)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragEnd(GlassViewEventHandler.java:634)
at com.sun.glass.ui.View.handleDragEnd(View.java:645)
at com.sun.glass.ui.View.notifyDragEnd(View.java:959)
at com.sun.glass.ui.mac.MacPasteboard._putItemsFromArray(Native Method)
at com.sun.glass.ui.mac.MacPasteboard.putItemsFromArray(MacPasteboard.java:143)
at com.sun.glass.ui.mac.MacPasteboard.putItems(MacPasteboard.java:165)
at com.sun.glass.ui.mac.MacSystemClipboard.pushToSystem(MacSystemClipboard.java:223)
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:260)
at com.sun.javafx.tk.quantum.QuantumToolkit.startDrag(QuantumToolkit.java:1147)
at javafx.scene.Scene$DnDGesture.dragDetectedProcessed(Scene.java:2845)
at javafx.scene.Scene$DnDGesture.process(Scene.java:2906)
at javafx.scene.Scene$DnDGesture.access$8500(Scene.java:2801)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3637)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3391)
at javafx.scene.Scene$MouseHandler.access$1800(Scene.java:3342)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1626)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2401)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:322)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:247)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:364)
at com.sun.glass.ui.View.handleMouseEvent(View.java:525)
at com.sun.glass.ui.View.notifyMouse(View.java:891)
*** pgnodes.size validatePG() [0] != children.size() [1]
java.lang.AssertionError: validation of PGGroup children failed
at javafx.scene.Parent.validatePG(Parent.java:183)
at javafx.scene.Parent.impl_updatePeer(Parent.java:141)
at javafx.scene.Node.impl_syncPeer(Node.java:488)
at javafx.scene.Scene$ScenePulseListener.synchronizeSceneNodes(Scene.java:2203)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2323)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:329)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:479)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:459)
at com.sun.javafx.tk.quantum.QuantumToolkit$13.run(QuantumToolkit.java:326)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)