AnsweredAssumed Answered

DefaultProcessDiagramGenerator nullpointer

Question asked by deg on Sep 9, 2014
Latest reply on Sep 30, 2014 by deg
In Activiti 5.16.1 i get the following ugly "warning" exception when deploying my activie proces, usin spring.

java.lang.NullPointerException: null
   at org.activiti.image.impl.DefaultProcessDiagramGenerator.connectionPerfectionizer( ~[activiti-image-generator-5.16.1.jar:5.16.1]
   at org.activiti.image.impl.DefaultProcessDiagramGenerator$22.draw( ~[activiti-image-generator-5.16.1.jar:5.16.1]
   at org.activiti.image.impl.DefaultProcessDiagramGenerator.drawArtifact( ~[activiti-image-generator-5.16.1.jar:5.16.1]

Diving into the code it was easy to see that i just needed to set the "createDiagramOnDeploy" property to false on my ProcessEngineConfiguration. This is set default to true, but then this also gives an exception by default.

Just thought this was a bit ugly.
Default behaviour printing stacktraces like that.