If you call org.eclipse.gef.fx.nodes.Connection.removeAllControlPoints() in a certain situation an IllegalArgumentException is thrown.
RouterExample.java.txt
Caused by: java.lang.IllegalArgumentException: Index out of range (index: 1, size: 1).
at org.eclipse.gef.fx.nodes.Connection.removeControlPoint(Connection.java:1499)
at org.eclipse.gef.fx.nodes.Connection.removeAllControlPoints(Connection.java:1391)
at com.initka.nui.gef.core.development.RouterExample.initConnection(RouterExample.java:71)
We are using version 5.0.1