Page 1 of 1

EmptySvgException

Posted: 24 Apr 2015, 16:24
by jonathan.carter
We've recently encountered an issue with PlantUML and GraphViz on OS X Yosemite where when a View uses PlantUML (e.g. Business Process Flow), an exception is raised:

net.sourceforge.plantuml.svek.EmptySvgException

The exception is caused by an incomplete installation of GraphViz, in particular the 'dot' component.

To resolve this, open the Terminal app and on the command line, type:

Code: Select all

sudo dot -c
If asked whether to install X11, select "yes"

You can test the installation of GraphViz, using the following command in Terminal:

Code: Select all

java -jar <YOUR TOMCAT FOLDER>/webapps/essential_viewer/WEB-INF/lib/plantuml.jar -testdot