|Rectilinear Router Throws Exception [message #1220616]
||Thu, 12 December 2013 17:20
| Kunal Prasad
Registered: September 2009
I tried to use BorderRectilinerRouter for a connection figure in Graphiti 0.9.2.
This router was explicitly set instead of FreeFormConnectionRouter of Graphiti. The creation of connection works fine, however when I shift the connection by holding bendpoints, I get following exception and the refresh of diagram gets hanged. On my initial analysis, I found the newLine was infact 0 in size, which on calculation of newLine.size()-1 resulted in -1, in RectilinearRouter.routeLine at Point lastEndAnchor = newLine.removePoint(newLine.size() - 1);
Also it was found that below method was in fact returning pointlist empty:
java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
Please suggest how to resolve this issue.
Powered by FUDForum
. Page generated in 0.17438 seconds