0 Replies Latest reply on May 13, 2010 3:40 AM by felixkjose

    JBPM and DRool sample application throwing exception.

    felixkjose

      Hi All,

       

      I have created a sample application for JBPMand DRool and it is giving the following exception. Also I have attached the sample application with this. Please give me a resolution for this exception.

       

      Exception in thread "main"

      java.lang.NullPointerException

      at org.jbpm.jpdl.internal.activity.RulesActivity.execute(

      RulesActivity.java:51)

      at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(

      ExecuteActivity.java:60)

      at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(

      ExecutionImpl.java:656)

      at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(

      ExecutionImpl.java:616)

      at org.jbpm.pvm.internal.model.ExecutionImpl.start(

      ExecutionImpl.java:217)

      at org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(

      StartProcessInstanceCmd.java:61)

      at org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd.execute(

      StartProcessInstanceCmd.java:37)

      at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(

      DefaultCommandService.java:42)

      at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(

      StandardTransactionInterceptor.java:54)

      at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(

      EnvironmentInterceptor.java:53)

      at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(

      EnvironmentInterceptor.java:40)

      at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(

      RetryInterceptor.java:55)

      at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(

      SkipInterceptor.java:43)

      at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceById(

      ExecutionServiceImpl.java:58)

      at com.felix.poc.MainDriver.main(

      MainDriver.java:40)

       

      Thank you,

      Felix Jose