AnsweredAssumed Answered

ActivitiEngine object coming as null in standalone java class

Question asked by penusila611621 on Mar 15, 2014
Latest reply on Apr 22, 2014 by penusila611621
I am newbie in activiti and below is my problem

1. Downloaded activiti 5.14 distribution
2. Downloaded eclipse plug in 5.14.1 and setup the eclipse to work with activit
3. Developed a simple process
4. Created test java class with the help of JUnit test option
5. The following statement is returning null means processEngine object is null
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();

6. Attached the java class & activit-cfg.xml file(tried with h2 properties and with out h2 db properties in xml file)
7. Commented the lines in java class to check step by step

i am not able to proceed because of NullPointer exception. All the activiti related jar's downloaded added to classpath.

I am doing a poc and prompt response is very much appreciated.