AnsweredAssumed Answered

Error while generating process diagram, image will not be stored in repository

Question asked by chandra_nm on Mar 10, 2017
Latest reply on Mar 15, 2017 by jearles

Getting below error while deploying spring boot activity application .

Attached the Process XMLS and error message .

 

2017-03-10 14:10:19.182 [0;39m [32m INFO [0;39m [35m33900 [0;39m  [2m--- [0;39m  [2m[ main] [0;39m [36mo.a.e.impl.bpmn.deployer.BpmnDeployer [0;39m  [2m: [0;39m Processing resource processes/NonParticipatingBusinessProcess.V1.bpmn

[2m2017-03-10 14:10:19.425 [0;39m [33m WARN [0;39m [35m33900 [0;39m  [2m--- [0;39m  [2m[ main] [0;39m [36mo.a.e.impl.bpmn.deployer.BpmnDeployer [0;39m  [2m: [0;39m Error while generating process diagram, image will not be stored in repository

 

java.lang.NullPointerException: null

at org.activiti.image.impl.DefaultProcessDiagramGenerator.initProcessDiagramCanvas(DefaultProcessDiagramGenerator.java:898) ~[activiti-image-generator-5.21.0.jar:5.21.0]

at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateProcessDiagram(DefaultProcessDiagramGenerator.java:475) ~[activiti-image-generator-5.21.0.jar:5.21.0]

at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:403) ~[activiti-image-generator-5.21.0.jar:5.21.0]

at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:425) ~[activiti-image-generator-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:155) ~[activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:58) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:106) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:37) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) [activiti-spring-5.21.0.jar:5.21.0]

at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [spring-tx-4.3.2.RELEASE.jar:4.3.2.RELEASE]

at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) [activiti-spring-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:79) [activiti-engine-5.21.0.jar:5.21.0]

at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:156) [activiti-engine-5.21.0.jar:5.21.0]

at com.nm.workqueue.ActivitiConfiguration.repositoryService(ActivitiConfiguration.java:100) [bin/:na]

at com.nm.workqueue.ActivitiConfiguration$$EnhancerBySpringCGLIB$$616c100.CGLIB$repositoryService$7(<generated>) [bin/:na]

at com.nm.workqueue.ActivitiConfiguration$$EnhancerBySpringCGLIB$$616c100$$FastClassBySpringCGLIB$$7c75757.invoke(<generated>) [bin/:na]

at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) [spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]

at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356) [spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]

at com.nm.workqueue.ActivitiConfiguration$$EnhancerBySpringCGLIB$$616c100.repositoryService(<generated>) [bin/:na]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_101]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_101]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101]

Outcomes