2 Replies Latest reply on Nov 3, 2008 6:43 AM by salaboy21

    Error when deploying the processdefinition

    naeemahmad

      Hi,
      I have deployed the processdefinition with very simple code as follow,

      ProcessDefinition def = ProcessDefinition.parseXmlResource("source/processdefinition.xml");

      JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();

      jbpmContext.deployProcessDefinition(def);

      I made it soo simple but it is not working, the error messages are


      DEBUG JpdlParser$JpdlEntityResolver : resolving schema reference publicId(null) systemId(http://jbpm.org/jpdl-3.1.xsd)

      DEBUG JpdlParser$JpdlEntityResolver : providing input source to local 'jpdl-3.1.xsd' resource

      DEBUG NodeTypes : node 'page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded

      DEBUG NodeTypes : node 'start-page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded

      Exception in thread "main" java.lang.NullPointerException

      Please guide me where i am making wrong!
      Thank you

      at source.deploy.main(deploy.java:19)