5 Replies Latest reply on Dec 18, 2009 4:23 AM by Joram Barrez

    [jBPM4] Cant build processEngine using setFile, setURL or se

    Etienne Deleflie Newbie

      I want to move jbpm.hibernate.cfg.xml out of my classpath and into a separate folder. I'm doing it like this:

      processEngine = new Configuration().setFile( new File("myFilePath")).buildProcessEngine()

      I get the same stack trace as when using setURL and set XMLString. THat stack trace looks something like this:

      Caused by: java.lang.NullPointerException
      at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:177)
      at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.buildProcessEngine(ProcessEngineImpl.java:170)

      Is there somethign I have misunderstood ... or does this look like a bug?