JBoss Community

Re: Task Human - Parameter Mapping

created by Mantu Singh in jBPM - View the full discussion

Hi TC ONG,

 

i am getting an error on running the same example........................can u help me out on this?

is same example working for u?

 

thanks

 

error is....

 

Loading knowledge base.

Registering Human Task..

Hellooooo~~~!

no_male = null

Hello World~!?

org.jbpm.workflow.instance.WorkflowRuntimeException: [humanTaskFlow:1 - Scan no of male:2] -- null

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:132)

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)

          at org.jbpm.workflow.instance.node.JoinInstance.triggerCompleted(JoinInstance.java:152)

          at org.jbpm.workflow.instance.node.JoinInstance.internalTrigger(JoinInstance.java:52)

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)

          at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)

          at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)

          at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)

          at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:194)

          at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:309)

          at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:170)

          at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:140)

          at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1098)

          at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)

          at com.utsav.poc.LocalTaskClientTest.main(LocalTaskClientTest.java:68)

Caused by: java.lang.NullPointerException

          at org.jbpm.process.workitem.wsht.SyncWSHumanTaskHandler.executeWorkItem(SyncWSHumanTaskHandler.java:270)

          at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

          at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107)

          at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)

          ... 18 more

Reply to this message by going to Community

Start a new discussion in jBPM at Community