[jboss-user] [jBPM] - JBPM and Drool sample application throwing an Exception.

Felix Jose do-not-reply at jboss.com
Thu May 13 03:25:54 EDT 2010


Felix Jose [http://community.jboss.org/people/FelixKJose] created the discussion

"JBPM and Drool sample application throwing an Exception."

To view the discussion, visit: http://community.jboss.org/message/542785#542785

--------------------------------------------------------------
Hi All,

I have created a simple standalone project for JBPM and Drools. But when I run the application I am getting the following 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)

Can anybody please tell me what can be the reason for this exception? I have attached my sample application with this. Please find the same and please give me a resolution.

















--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/542785#542785]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100513/4237de24/attachment-0001.html 


More information about the jboss-user mailing list