AnsweredAssumed Answered

ProcessEngine null

Question asked by arag on Nov 24, 2016
Latest reply on Dec 15, 2016 by kgastaldo
I need help please!
I have a problem with the ProcessEngine when i try to init.
My code

public static void main(String[] args) {
        new update().updateFlow();

    public void updateFlow() {
        pe = ProcessEngines.getDefaultProcessEngine();
        try {
            RepositoryService repositoryService = pe.getRepositoryService();
            String dep = repositoryService.createDeployment().addClasspathResource("test.bpmn20.xml").deploy().getId();
            System.out.println("deploy" + dep);
        } catch (Exception e) {

Show me the message java.lang.NullPointerException. I work with Maven and activiti 6 beta4

Thans for your time