-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
This is my code:
public class MyBatisExtendedSessionFactory extends StandaloneProcessEngineConfiguration {
private String resourceName;
private static boolean initalized = false;
@Override
protected void init()
public void initFromProcessEngineConfiguration(final ProcessEngineConfigurationImpl processEngineConfiguration,
final String resourceName) {
this.resourceName = resourceName;
if (!initalized)
}
@Override
protected InputStream getMyBatisXmlConfigurationSteam()
}
When I run it, I get the following exception.
java.lang.NullPointerException
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.initSessionFactories(ProcessEngineConfigurationImpl.java:718)
at de.dlh.lht.base.bpm.fox.custom.MyBatisExtendedSessionFactory.initFromProcessEngineConfiguration(MyBatisExtendedSessionFactory.java:36)
at de.dlh.lht.base.bpm.fox.custom.MyBatisQueryCommandExecutor.<init>(MyBatisQueryCommandExecutor.java:17)
at de.dlh.lht.base.bpm.fox.custom.CustomTaskServiceImpl.getActiveTasks(CustomTaskServiceImpl.java:43)
at de.dlh.lht.base.bpm.fox.custom.ProcessActiveUserTasksTest.shouldClaimProcessWithDifferentUsers(ProcessActiveUserTasksTest.java:175)
...
I remember that Bernd said something about ProcessEngineConf changed, and he did a fix on the 6.2 cockpit, but I dont get it ....