This is the stacktrace
Exception in thread "main" java.lang.NullPointerException
at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:152)
at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.<init>(ProcessEngineImpl.java:105)
at org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:92)
at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)
at org.jbpm.examples.java.JBPMRepository.createProcessEngine(JBPMRepository.java:35)
at org.jbpm.examples.java.JBPMMailTest.initiateJBPMEngine(JBPMMailTest.java:19)
at org.jbpm.examples.java.JBPMMailTest.main(JBPMMailTest.java:65)
I did little change in it to get it work . I have included these in xml file
<import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.tx.hibernate.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.bpmn.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
Now null pointer is gone but authentication error is still there
How can i override default xml defination