Community
Participate
Working Groups
The SVG export in batik 1.9.1 is broken, see https://issues.apache.org/jira/browse/BATIK-1228 No ImageWriters are registered for image/png in the Eclipse version of batik. If you export a diagram containing SVG images, an NPE will occur. Sirius installed the workaround to explicitly register writers with patch https://git.eclipse.org/r/#/c/122769/1/plugins/org.eclipse.sirius.diagram.ui/src-gen/org/eclipse/sirius/diagram/ui/provider/DiagramUIPlugin.java But the issue should be solved on the level of the batik integration in Eclipse.
Moving out of 1.13, as the move to Batik 1.9.1 was aborted at the time, and I've not gotten around reboot the effort. Note that there are parts of Batik 1.11 now in Orbit, but only the subset required by the platform, and there's even been a 1.12 release since then, so if GMF moves to a more recent Batik, it will not be 1.9, and this patch may or may not apply to the more recent versions.