JDK-8123455 : [ColorPicker] save button results in exception
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-09-02
  • Updated: 2015-06-17
  • Resolved: 2013-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Blocks :  
Duplicate :  
Description
Press save. Exception

Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: 0
	at javafx.scene.layout.GridPane$CompositeSize.setMaxSize(GridPane.java:2478)
	at javafx.scene.layout.GridPane$CompositeSize.access$1200(GridPane.java:2429)
	at javafx.scene.layout.GridPane.computeMaxWidths(GridPane.java:1494)
	at javafx.scene.layout.GridPane.growOrShrinkColumnWidths(GridPane.java:2166)
	at javafx.scene.layout.GridPane.adjustColumnWidths(GridPane.java:2000)
	at javafx.scene.layout.GridPane.layoutChildren(GridPane.java:1674)
	at javafx.scene.Parent.layout(Parent.java:1052)
	at javafx.scene.Parent.layout(Parent.java:1058)
	at javafx.scene.Parent.layout(Parent.java:1058)
	at javafx.scene.Parent.layout(Parent.java:1058)
	at javafx.scene.Group.impl_computeLayoutBounds(Group.java:159)
	at javafx.scene.Node$15.computeBounds(Node.java:3123)
	at javafx.scene.Node$LazyBoundsProperty.get(Node.java:8789)
	at javafx.scene.Node$LazyBoundsProperty.get(Node.java:8759)
	at javafx.scene.Node.getLayoutBounds(Node.java:3138)
	at javafx.stage.PopupWindow.syncWithRootBounds(PopupWindow.java:493)
	at javafx.stage.PopupWindow.access$000(PopupWindow.java:91)
	at javafx.stage.PopupWindow$1.invalidated(PopupWindow.java:106)
	at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:135)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
	at javafx.scene.Node$LazyBoundsProperty.invalidate(Node.java:8799)
	at javafx.scene.Node.impl_layoutBoundsChanged(Node.java:3293)
	at javafx.scene.Node.impl_notifyLayoutBoundsChanged(Node.java:3692)
	at javafx.scene.Node.impl_geomChanged(Node.java:3645)
	at javafx.scene.Parent.childBoundsChanged(Parent.java:1689)
	at javafx.scene.Node.notifyParentOfBoundsChange(Node.java:3714)
	at javafx.scene.Node.transformedBoundsChanged(Node.java:3676)
	at javafx.scene.Node.localBoundsChanged(Node.java:3658)
	at javafx.scene.Node.impl_geomChanged(Node.java:3646)
	at javafx.scene.Parent.childBoundsChanged(Parent.java:1689)
	at javafx.scene.Node.notifyParentOfBoundsChange(Node.java:3714)
	at javafx.scene.Node.transformedBoundsChanged(Node.java:3676)
	at javafx.scene.Node.localBoundsChanged(Node.java:3658)
	at javafx.scene.Node.impl_geomChanged(Node.java:3646)
	at javafx.scene.Parent.childBoundsChanged(Parent.java:1689)
	at javafx.scene.Node.notifyParentOfBoundsChange(Node.java:3714)
	at javafx.scene.Node.transformedBoundsChanged(Node.java:3676)
	at javafx.scene.Node.localBoundsChanged(Node.java:3658)
	at javafx.scene.Node.impl_geomChanged(Node.java:3646)
	at javafx.scene.Parent$1.onChanged(Parent.java:328)
	at com.sun.javafx.collections.TrackableObservableList$1.onChanged(TrackableObservableList.java:48)
	at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:315)
	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 javafx.scene.layout.GridPane.add(GridPane.java:972)
	at com.sun.javafx.scene.control.skin.ColorPalette.buildCustomColors(ColorPalette.java:182)
	at com.sun.javafx.scene.control.skin.ColorPalette.access$200(ColorPalette.java:55)
	at com.sun.javafx.scene.control.skin.ColorPalette$1$2.run(ColorPalette.java:107)
	at com.sun.javafx.scene.control.skin.CustomColorDialog$ControlsPane$4.handle(CustomColorDialog.java:660)
	at com.sun.javafx.scene.control.skin.CustomColorDialog$ControlsPane$4.handle(CustomColorDialog.java:657)
	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.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
	at javafx.event.Event.fireEvent(Event.java:203)
	at javafx.scene.Node.fireEvent(Node.java:8034)
	at javafx.scene.control.Button.fire(Button.java:184)
	at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
	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.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$MouseHandler.process(Scene.java:3581)
	at javafx.scene.Scene$MouseHandler.process(Scene.java:3375)
	at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3326)
	at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1612)
	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2389)
	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:517)
	at com.sun.glass.ui.View.notifyMouse(View.java:882)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
	at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
	at java.lang.Thread.run(Thread.java:724)
java.lang.ArrayIndexOutOfBoundsException: 0
	at javafx.scene.layout.GridPane$CompositeSize.getSize(GridPane.java:2474)
	at javafx.scene.layout.GridPane$CompositeSize.access$900(GridPane.java:2429)
	at javafx.scene.layout.GridPane.layoutChildren(GridPane.java:1710)
	at javafx.scene.Parent.layout(Parent.java:1052)
	at javafx.scene.Parent.layout(Parent.java:1058)
	at javafx.scene.Parent.layout(Parent.java:1058)
	at javafx.scene.Parent.layout(Parent.java:1058)
	at javafx.scene.Scene.doLayoutPass(Scene.java:546)
	at javafx.scene.Scene.access$3700(Scene.java:189)
	at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2290)
	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)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
	at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
	at java.lang.Thread.run(Thread.java:724)