02-04-2011 05:25 PM
02-08-2011 10:01 AM
The activiti-webapp-rest module uses the following code to get the ProcessDefinitionEntity:ProcessDefinitionEntity pde = (ProcessDefinitionEntity) ((RepositoryServiceImpl) getRepositoryService())
Such process definition entity seems to have the activities initialized.
.getDeployedProcessDefinition(pi.getProcessDefinitionId());
02-08-2011 10:05 AM
02-08-2011 10:08 AM
02-08-2011 10:09 AM
02-08-2011 10:36 AM
Hi,
This is an issue that occurs when an activity/gateway/… is found without any width/height info for it. Can you check your XML to check that all activities have a corresponding DI-counterpart (containing x y width height). Also set all "name" properties on activities as well (if not already the case).
02-08-2011 10:52 AM
02-08-2011 10:56 AM
ProcessDiagramGenerator.generateDiagram(pde, "png", getRuntimeService().getActiveActivityIds(selecetedProcessInstance.getId()))
Best regards,
02-08-2011 11:06 AM
04-26-2011 02:18 AM
01-02-2013 05:16 AM
java.awt.image.RasterFormatException: (x + width) is outside raster
sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:467)
java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1173)
org.activiti.engine.impl.bpmn.diagram.ProcessDiagramCanvas.generateImage(ProcessDiagramCanvas.java:173)
org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generateDiagram(ProcessDiagramGenerator.java:302)
org.apache.jsp.index_jsp._jspService(index_jsp.java:263)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
etc….
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.