ENGINE-16004 Exception while closing command context: null

Hi,
I’m getting errors when starting a process :

2021-11-16 10:41:58.690 ERROR 1 --- [io-8080-exec-24] org.camunda.bpm.engine.context           : ENGINE-16004 Exception while closing command context: null
java.lang.NullPointerException: null
at org.camunda.bpm.engine.impl.persistence.entity.DeploymentEntity.addResource(DeploymentEntity.java:65) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.CacheDeployer.initDeployment(CacheDeployer.java:82) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.CacheDeployer.deployOnlyGivenResourcesOfDeployment(CacheDeployer.java:62) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache.resolveDefinition(ResourceDefinitionCache.java:124) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache.findDeployedLatestDefinitionByKey(ResourceDefinitionCache.java:68) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.persistence.deploy.cache.DeploymentCache.findDeployedLatestProcessDefinitionByKey(DeploymentCache.java:86) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.cmd.GetDeployedProcessDefinitionCmd.findByKey(GetDeployedProcessDefinitionCmd.java:87) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.cmd.GetDeployedProcessDefinitionCmd.find(GetDeployedProcessDefinitionCmd.java:74) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.cmd.GetDeployedProcessDefinitionCmd.execute(GetDeployedProcessDefinitionCmd.java:56) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:50) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:38) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:28) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:110) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:46) ~[camunda-engine-spring-7.14.0.jar!/:7.14.0]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) ~[spring-tx-5.2.10.RELEASE.jar!/:5.2.10.RELEASE]
at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:44) ~[camunda-engine-spring-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.executeWithVariablesInReturn(ProcessInstantiationBuilderImpl.java:166) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:132) ~[camunda-engine-7.14.0.jar!/:7.14.0]
at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:128) ~[camunda-engine-7.14.0.jar!/:7.14.0]

My issue looks a lot like this one : Exception while closing command context (How skip task ending) - #3 by neki
Except that my process is not ending automatically after start and is waiting for a user action. Also, right after the start, a JavaDelegate is called. Is there a possibility that the process datas are not committed into the database and the JavaDelagate is called but it does not manage to find the corresponding process as it is not committed yet ?

I work on Camunda 7.14, Java 11

Thanks in advance for your help,
Nicolas

My issue is solved after clearing camunda tables because I had a .bpmn file not found by the app