Camunda Platform 7 does not find BPMN deployment

Camunda is not finding BPMN automatically.

org.camunda.bpm.engine.exception.NullValueException: no deployed process definition found with id 'crud-process': processDefinition is null at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:484) at org.camunda.bpm.engine.impl.util.EnsureUtil.generateException(EnsureUtil.java:398) at org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:55) at org.camunda.bpm.engine.impl.util.EnsureUtil.ensureNotNull(EnsureUtil.java:50) at org.camunda.bpm.engine.impl.persistence.deploy.cache.ProcessDefinitionCache.checkDefinitionFound(ProcessDefinitionCache.java:47) at org.camunda.bpm.engine.impl.persistence.deploy.cache.ProcessDefinitionCache.checkDefinitionFound(ProcessDefinitionCache.java:28) at org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache.findDeployedDefinitionById(ResourceDefinitionCache.java:55) at org.camunda.bpm.engine.impl.persistence.deploy.cache.DeploymentCache.findDeployedProcessDefinitionById(DeploymentCache.java:81)

Hi @isaque ,

you barely provided any information, but just from the stacktrace and the value you provided as process definition id, I assume you mixed up “process definition id” and “process definition key”. They key is what you assign in your proces model. Based on the key, Camunda will compute a process definition id on deployment which is unique across all version of definitions for a specific key.

Kind regards,
Adagatiya

can you check what would be the problem with BPMN

crud.bpmn (2.3 KB)

Hi @isaque ,

in your process model you assigned “crud-process” as “id”. This will be used as process definition key during deployment to Camunda.

To help you further I would need to know to either know the full stacktrace or what you did to cause the exception. Did you start a query (if yes which), start a process instance or something else?

Kind regards,
Adagatiya