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&...]