AnsweredAssumed Answered

NullpointerException at runtimeService.startProcessInstanceByKey

Question asked by agiledevpro on Jul 18, 2014
Latest reply on Jul 18, 2014 by agiledevpro

When I run a JUnit test that tries to start my process instance, I get nullPointerException at the row where I try to startProcessInstanceByKey.
I've tried putting my activiti.cfg.xml file in different places such as "C:\apache-tomcat-7.0.54\webapps\activiti-explorer\WEB-INF\classes",
"C:\apache-tomcat-7.0.54\webapps\activiti-explorer\WEB-INF\lib" and in my project under "src/main/java" and "src/main/resources" but I still get the same exception.

I've attached my JUnit test, activiti.cfg.xml and my bpmn20.xml file.

What am I doing wrong?