Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.sun.javafx.text.PrismTextLayout.shape(PrismTextLayout.java:834) at com.sun.javafx.text.PrismTextLayout.layout(PrismTextLayout.java:1064) at com.sun.javafx.text.PrismTextLayout.ensureLayout(PrismTextLayout.java:223) at com.sun.javafx.text.PrismTextLayout.getBounds(PrismTextLayout.java:246) at javafx.scene.text.Text.getLogicalBounds(Text.java:355) at javafx.scene.text.Text.getYRendering(Text.java:1070) at javafx.scene.text.Text.access$4400(Text.java:96) at javafx.scene.text.Text$TextAttribute$11.computeValue(Text.java:1786) at javafx.scene.text.Text$TextAttribute$11.computeValue(Text.java:1778) at javafx.beans.binding.ObjectBinding.get(ObjectBinding.java:153) at javafx.beans.binding.ObjectExpression.getValue(ObjectExpression.java:50) at com.sun.javafx.binding.ExpressionHelper.addListener(ExpressionHelper.java:54) at javafx.beans.binding.ObjectBinding.addListener(ObjectBinding.java:72) at javafx.beans.property.ObjectPropertyBase.bind(ObjectPropertyBase.java:172) at javafx.scene.text.Text$TextAttribute.impl_caretShapeProperty(Text.java:1794) at javafx.scene.text.Text.impl_caretShapeProperty(Text.java:910) at com.sun.javafx.scene.control.skin.TextFieldSkin.(TextFieldSkin.java:232) at com.sun.javafx.scene.control.skin.TextFieldSkin.(TextFieldSkin.java:128) at javafx.scene.control.TextField.createDefaultSkin(TextField.java:270) at javafx.scene.control.Control.impl_processCSS(Control.java:890) at javafx.scene.Parent.impl_processCSS(Parent.java:1267) at javafx.scene.control.Control.impl_processCSS(Control.java:886) at javafx.scene.Parent.impl_processCSS(Parent.java:1267) at javafx.scene.Parent.impl_processCSS(Parent.java:1267) at javafx.scene.Parent.impl_processCSS(Parent.java:1267) at javafx.scene.Node.processCSS(Node.java:8845) at javafx.scene.Scene.doCSSPass(Scene.java:523) at javafx.scene.Scene.preferredSize(Scene.java:1607) at javafx.scene.Scene.impl_preferredSize(Scene.java:1684) at javafx.stage.Window$9.invalidated(Window.java:753) at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109) at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143) at javafx.stage.Window.setShowing(Window.java:829) at javafx.stage.Window.show(Window.java:844) at javafx.stage.Stage.show(Stage.java:255) at com.sun.javafx.scene.control.skin.CustomColorDialog.show(CustomColorDialog.java:163) at com.sun.javafx.scene.control.skin.ColorPalette$1.handle(ColorPalette.java:121) at com.sun.javafx.scene.control.skin.ColorPalette$1.handle(ColorPalette.java:97) 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.EventUtil.fireEventImpl(EventUtil.java:74) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.event.Event.fireEvent(Event.java:198) at javafx.scene.Node.fireEvent(Node.java:8215) at javafx.scene.control.Hyperlink.fire(Hyperlink.java:152) 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.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$MouseHandler.process(Scene.java:3722) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3450) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1726) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2459) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:348) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:273) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:382) at com.sun.glass.ui.View.handleMouseEvent(View.java:553) at com.sun.glass.ui.View.notifyMouse(View.java:925) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$127(WinApplication.java:102) at com.sun.glass.ui.win.WinApplication$$Lambda$37/1109371569.run(Unknown Source) at java.lang.Thread.run(Thread.java:745)