[graphviz-interest] GrappaLine.updateLine IllegalArgumentException?

Martin Fabian <[email protected]>
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
We have been using Grappa as a bridge between our software and dot 
for a long time, doing automatic layout of finite state machines. 
Right now I got an IllegalArgumentException I have not seen before, 
and that I cannot understand.

This output from our SW 
https://chalmersuniversity.box.com/shared/static/dlun4qdu95ms2ue88xu5.dot 
displays fine through Grappa and dot.

This output from our SW 
https://chalmersuniversity.box.com/shared/static/017508i7rddnf97yc4q5.dot 
generates the exception:

java.lang.IllegalArgumentException: bad curve specifier string 
(e,221.85,1271.9 172.52,28.546 105.03,41.768 0,68.247 0,105 0,635 
0,635 0,635 1.4211e-014,802.09 16.395,846.43 72,1004 113.81,1122.5 
125.48,1155.9 204,1254 207.06,1257.8 210.57,1261.5 214.23,1265)
	at att.grappa.GrappaLine.updateLine(GrappaLine.java:316)
	at att.grappa.GrappaLine.<init>(GrappaLine.java:95)
	at att.grappa.Attribute.convertStringValue(Attribute.java:528)
	at att.grappa.Attribute.getValue(Attribute.java:164)
	at att.grappa.Element.setAttribute(Element.java:363)
	at att.grappa.CUP$Parser$actions.applyAttrs(Parser.java:790)
	at att.grappa.CUP$Parser$actions.edgeRHS(Parser.java:769)
	at att.grappa.CUP$Parser$actions.edgeWrap(Parser.java:741)
	at att.grappa.CUP$Parser$actions.CUP$Parser$do_action(Parser.java:1299)
	at att.grappa.Parser.do_action(Parser.java:222)
	at java_cup.runtime.lr_parser.parse(lr_parser.java:569)
	at org.supremica.gui.DotBuilder.parseResponse(DotBuilder.java:140)
	at org.supremica.gui.DotBuilder.internalBuild(DotBuilder.java:129)
	at org.supremica.gui.DotBuilder.run(DotBuilder.java:50)

Apparently it is this code
if(pts < 2 || type > BOTH_ARROW_EDGE) {
	    throw new IllegalArgumentException("bad curve specifier string 
(" + curve + ")");
	}
from 
http://projet-kotoba-no-kumo.googlecode.com/svn/trunk/graphviz/att/grappa/GrappaLine.java 
but I have no idea what may be wrong...

Any input appreciated.
And apologies if the links to box.com don't work, they really shoould.

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.