run small application attached, check "editable" checkbox, click on spinner to let it get focus, press <esc>.
result:
Exception in thread "JavaFX Application Thread" java.lang.StackOverflowErrorrn at java.util.HashMap.get(HashMap.java:556)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:217)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:180)rn at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)rn at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)rn at javafx.event.Event.fireEvent(Event.java:198)rn at javafx.scene.Node.fireEvent(Node.java:8215)rn at com.sun.javafx.scene.control.skin.SpinnerSkin.lambda$new$473(SpinnerSkin.java:142)rn at com.sun.javafx.scene.control.skin.SpinnerSkin$$Lambda$107/19754081.handle(Unknown Source)rn at com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(CompositeEventHandler.java:282)rn at com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(CompositeEventHandler.java:98)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:223)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:180)rn at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)rn at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)rn at javafx.event.Event.fireEvent(Event.java:198)rn at javafx.scene.Node.fireEvent(Node.java:8215)
result:
Exception in thread "JavaFX Application Thread" java.lang.StackOverflowErrorrn at java.util.HashMap.get(HashMap.java:556)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:217)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:180)rn at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)rn at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)rn at javafx.event.Event.fireEvent(Event.java:198)rn at javafx.scene.Node.fireEvent(Node.java:8215)rn at com.sun.javafx.scene.control.skin.SpinnerSkin.lambda$new$473(SpinnerSkin.java:142)rn at com.sun.javafx.scene.control.skin.SpinnerSkin$$Lambda$107/19754081.handle(Unknown Source)rn at com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(CompositeEventHandler.java:282)rn at com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(CompositeEventHandler.java:98)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:223)rn at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(EventHandlerManager.java:180)rn at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(CompositeEventDispatcher.java:43)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:52)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)rn at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)rn at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)rn at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)rn at javafx.event.Event.fireEvent(Event.java:198)rn at javafx.scene.Node.fireEvent(Node.java:8215)