Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#85 Bug reading SVG

closed
zvtm (49)
5
2012-10-24
2009-06-22
No

I get following stacktrace reading a correct SVG with ZVRViewer
java.lang.ArrayIndexOutOfBoundsException: 1
at com.xerox.VTM.svg.SVGReader.processNode(SVGReader.java:1785)
at com.xerox.VTM.svg.SVGReader.load(SVGReader.java:1677)
at com.xerox.VTM.svg.SVGReader.load(SVGReader.java:1652)
at net.claribole.zgrviewer.GVLoader.loadSVG(GVLoader.java:129)
at net.claribole.zgrviewer.ZGRViewer.loadCmdLineFile(ZGRViewer.java:93)
at net.claribole.zgrviewer.ZGRViewer.<init>(ZGRViewer.java:66)
at net.claribole.zgrviewer.ZGRViewer.main(ZGRViewer.java:503)

SVG attached.

Best regards,
Bastian

Discussion

  • Bastian Cramer

    Bastian Cramer - 2009-06-22

    SVG

     
  • Nobody/Anonymous

    The SVG parser seems not to like a size attribute in Dot language.
    If the graph is bigger than the given size zvt crashes.
    Removing size option solves the problem.

     
  • Emmanuel Pietriga

    Fixed in SVN on 20090624, along with a font parsing bug.

     

Anonymous
Anonymous

Cancel  Add attachments