Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-09011 Exception while reading model/kunggggg/dasdasdsadas/dasdasdas/dsadsadsadas.bpmn as input stream: null

Hello I have the following problem and I cannot understand why the process is getting this error and then the spring boot application does not start at all.
@thorben @Niall

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-03-09 13:19:11.897 ERROR 21656 --- [           main] o.s.boot.SpringApplication               [  ] : Application run failed

java.lang.RuntimeException: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application pksPeApplication' => 'Deployment of process archive 'pks-pe-process-archive': ENGINE-09011 Exception while reading model/bbbbbbbbbbbb/sssssssssssssss/2205.0/aaaaaaaaa.bpmn as input stream: null
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:105) ~[camunda-engine-spring-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:52) ~[camunda-engine-spring-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.spring.boot.starter.SpringBootProcessApplication$$EnhancerBySpringCGLIB$$84a19314.onApplicationEvent(<generated>) ~[camunda-bpm-spring-boot-starter-7.16.5-ee.jar:7.16.5-ee]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.14.jar:5.3.14]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.14.jar:5.3.14]
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.14.jar:5.3.14]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) ~[spring-context-5.3.14.jar:5.3.14]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) ~[spring-context-5.3.14.jar:5.3.14]
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938) ~[spring-context-5.3.14.jar:5.3.14]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) ~[spring-context-5.3.14.jar:5.3.14]
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.2.jar:2.6.2]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730) ~[spring-boot-2.6.2.jar:2.6.2]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412) ~[spring-boot-2.6.2.jar:2.6.2]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:302) ~[spring-boot-2.6.2.jar:2.6.2]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) ~[spring-boot-2.6.2.jar:2.6.2]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290) ~[spring-boot-2.6.2.jar:2.6.2]
	at ch.postfinance.pks.pe.PksPeApplication.main(PksPeApplication.java:13) ~[classes/:na]
Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application pksPeApplication' => 'Deployment of process archive 'pks-pe-process-archive': ENGINE-09011 Exception while reading model/bbbbbbbbbbbb/sssssssssssssss/2205.0/aaaaaaaaa.bpmn as input stream: null
	at org.camunda.bpm.container.impl.ContainerIntegrationLogger.exceptionWhilePerformingOperationStep(ContainerIntegrationLogger.java:316) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:136) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:160) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:216) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl.deployProcessApplication(RuntimeContainerDelegateImpl.java:102) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.application.AbstractProcessApplication.deploy(AbstractProcessApplication.java:71) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.start(SpringProcessApplication.java:110) ~[camunda-engine-spring-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.afterPropertiesSet(SpringProcessApplication.java:119) ~[camunda-engine-spring-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.spring.boot.starter.SpringBootProcessApplication.afterPropertiesSet(SpringBootProcessApplication.java:102) ~[camunda-bpm-spring-boot-starter-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:96) ~[camunda-engine-spring-7.16.5-ee.jar:7.16.5-ee]
	... 16 common frames omitted
Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-09011 Exception while reading model/bbbbbbbbbbbb/sssssssssssssss/2205.0/aaaaaaaaa.bpmn as input stream: null
	at org.camunda.bpm.engine.impl.util.EngineUtilLogger.exceptionWhileReadingStream(EngineUtilLogger.java:109) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.engine.impl.util.IoUtil.readInputStream(IoUtil.java:55) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.container.impl.deployment.DeployProcessArchiveStep.performOperationStep(DeployProcessArchiveStep.java:94) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:120) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	... 24 common frames omitted
Caused by: java.lang.NullPointerException: null
	at org.camunda.bpm.engine.impl.util.IoUtil.readInputStream(IoUtil.java:48) ~[camunda-engine-7.16.5-ee.jar:7.16.5-ee]
	... 26 common frames omitted

Hi @dawdaw_dawdaw

Can you please format your post to make it more readable?
Thanks.

-Niall

1 Like

I updated it.

Can you give more details about your project - what you’ve done exactly, what version of Camunda you’re using etc.

I found the problem, it was that in IntelliJ when I create a folder somehow if the subfolder is only one then it does not show a tree of folder but is just on the same line, example:
Folder Structure:
/model
/version1
asbasbas.bpmn

In IntelliJ this looks like: /model.version1
asbasbas.bpmn
somehow intelliJ makes the subFolder on the same like if it is just one subfolder and the problem was that Camunda cannot find the file.

1 Like

perfect well done