dikalo / lienzo-core

Lienzo Structure Graphics GWT Toolkit
Apache License 2.0
51 stars 58 forks source link

JBPM-6340: Wires connectors do not cause exception when shape is resized #188

Closed Christopher-Chianelli closed 7 years ago

Christopher-Chianelli commented 7 years ago

This is a fix for this issue: https://issues.jboss.org/browse/JBPM-6340. The issue is caused by Geometry.getPathIntersect(), which sometimes incorrectly returns a Point2D without a corresponding JSO object due to accessing a non-existing array element. Geometry.getPathIntersect() will now return null if the array does not contain enough elements or an exception occurs.

Christopher-Chianelli commented 7 years ago

Fixes #192