java.lang.IllegalArgumentException: The selection "Rectangle2D [minX = 73.0, minY=22.0, maxX=73.0, maxY=22.0, width=0.0, height=0.0]" is invalid. Check the comment on 'SnapshotView.selectionProperty()' for all criteria a selection must fulfill.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by chris13524
, 1 year ago
The selection "Rectangle2D [minX = 73.0, minY=22.0, maxX=73.0, maxY=22.0, width=0.0, height=0.0]" is invalid. Check the comment on 'SnapshotView.selectionProperty()' for all criteria a selection must fulfill.
java.lang.IllegalArgumentException: The selection "Rectangle2D [minX = 73.0, minY=22.0, maxX=73.0, maxY=22.0, width=0.0, height=0.0]" is invalid. Check the comment on 'SnapshotView.selectionProperty()' for all criteria a selection must fulfill.
at org.controlsfx.control.SnapshotView$1.set(SnapshotView.java:268)
at org.controlsfx.control.SnapshotView$1.set(SnapshotView.java:264)
at org.controlsfx.control.SnapshotView.setSelection(SnapshotView.java:935)
at impl.org.controlsfx.behavior.SnapshotViewBehavior$SelectionChangeByStrategy.beginSelectionChange(SnapshotViewBehavior.java:731)
at impl.org.controlsfx.behavior.SnapshotViewBehavior.handleMousePressedEvent(SnapshotViewBehavior.java:266)
at impl.org.controlsfx.behavior.SnapshotViewBehavior.handleMouseEvent(SnapshotViewBehavior.java:142)
at impl.org.controlsfx.skin.SnapshotViewSkin.handleMouseEvent(SnapshotViewSkin.java:315)
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:3757)
at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:380)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:294)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:416)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:415)
at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
at com.sun.glass.ui.View.notifyMouse(View.java:937)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$5(GtkApplication.java:139)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.