Exception opening generated files
| Project: | Visualize Backtrace |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | dot, exception, zgrviewer |
Jump to:
I am trying to allow zgrviewer to render the backtrace from firefox, but It's not opening up the generated files from the command line:
zgrviewer can't open the generated dot files manually:
/usr/bin/zgrviewer/run.sh --Pdot /var/www/feat/sites/default/files/xt_section0.dot;
--help for command line options
Loading Preferences from : /home/develmachine/.zgrviewer
Exception generating graph: 6
java.lang.ArrayIndexOutOfBoundsException: 6
at net.claribole.zgrviewer.ToolPalette.hideLogicalTools(ToolPalette.java:249)
at net.claribole.zgrviewer.GraphicsManager.buildLogicalStructure(GraphicsManager.java:885)
at net.claribole.zgrviewer.DOTManager.displaySVG(DOTManager.java:272)
at net.claribole.zgrviewer.DOTManager.callGraphViz(DOTManager.java:95)
at net.claribole.zgrviewer.DOTManager.load(DOTManager.java:64)
at net.claribole.zgrviewer.GVLoader.loadFile(GVLoader.java:104)
at net.claribole.zgrviewer.ZGRViewer.loadCmdLineFile(ZGRViewer.java:96)
at net.claribole.zgrviewer.ZGRViewer.(ZGRViewer.java:66)
at net.claribole.zgrviewer.ZGRViewer.main(ZGRViewer.java:503)
The server is on Ubuntu 9.
Should you require more information, I will be happy to assist you.
Kind regards,
Jorge

#1
Does it do this with all backtrace sets?
Probably be useful to know which versions of zgrviewer, java, and which GraphViz you're using.
#2
It is happening to all traces,
I have noticed that the files are only 56 bite long: here is:
ls -l-rw-r--r-- 1 develmachine develmachine 56 2009-10-04 15:53 xt_section0.dot
-rw-r--r-- 1 develmachine develmachine 56 2009-10-04 15:53 xt_section1.dot
..
zgr 0.8.2
graphviz 2.20.2
I am not sure which java is but I keep my debian updated to the latest release.
Regards,
Jorge.