IntelliJ user has a strange bug, probably JRE/environment related
https://github.com/esteinberg/plantuml4idea/issues/300
- the svg was generated without escaped hyphens "--". Batik is then not able to generate an image and throws the exception you can see there. Or rather Xerces is not able to parse the xml, no matter what, setIgnoringComments is useless
I was not able to reproduce it.
Perhaps a workaround would be to have an option to disable adding of comments at net.sourceforge.plantuml.svg.SvgGraphics#addComment.
Or I could solve it on my end via JSoup and strip the comments (that on the other hand causes "The entity "nbsp" was referenced, but not declared", so I would have to make my own JSoup).
.