AnsweredAssumed Answered

ProcessDiagramGenerator throws RasterFormatException

Question asked by m2spring on Nov 28, 2012
Latest reply on Dec 4, 2012 by m2spring
The ProcessDiagramGenerator in 5.10 gives this on a BPMN created with Designer 5.9:
java.awt.image.RasterFormatException: (x + width) is outside raster
        at sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:450)
        at java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1156)
        at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramCanvas.generateImage(ProcessDiagramCanvas.java:173)
        at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generateDiagram(ProcessDiagramGenerator.java:302)
        at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generatePngDiagram(ProcessDiagramGenerator.java:263)
        at com.cisco.surf.activiti.tests.GenDiagTest.testGenDiag(GenDiagTest.java:45)
        …
Full project: https://github.com/jenkinsci/jenkow-plugin/tree/master/activiti-tests/gendiag
BPMN XML: https://github.com/jenkinsci/jenkow-plugin/blob/master/activiti-tests/gendiag/src/test/resources/diagrams/GenDiag.bpmn
GenDiagTest.java: https://github.com/jenkinsci/jenkow-plugin/blob/master/activiti-tests/gendiag/src/test/java/com/cisco/surf/activiti/tests/GenDiagTest.java

Is this a bug or am I doing something wrong here?

Thanks!
-Max

Outcomes