[jboss-user] [jBPM] - Re: Task Human - Parameter Mapping

Mantu Singh do-not-reply at jboss.com
Tue Jan 22 08:52:53 EST 2013


Mantu Singh [https://community.jboss.org/people/mantusingh90] created the discussion

"Re: Task Human - Parameter Mapping"

To view the discussion, visit: https://community.jboss.org/message/793530#793530

--------------------------------------------------------------
Hi ,

i have solved this problem , your  https://community.jboss.org/thread/200045 https://community.jboss.org/thread/200045 post helped me on this.....thanks!!
but i still have one problem ... after completion of two user task it throws exception in Diverging getway.
this code is there for Diverging getway...

*<conditionExpression xsi:type="tFormalExpression" language=" http://www.java.com/java http://www.java.com/java" >System.out.println("no_male = " + no_male);*
*System.out.println("no_female = " + no_female);*
*System.out.println("actual_male = " + actual_male);*
*System.out.println("actual_female = " + actual_female);*

*System.out.println("compare = " + (*
*    ( no_male.equals( actual_male )) &amp;&amp;*
*    ( no_female.equals( actual_female ))*
*));*

*return (*
*    no_male.equals( actual_male ) &amp;&amp;*
*    no_female.equals( actual_female )*
*);</conditionExpression>*

 *https://community.jboss.org/servlet/JiveServlet/showImage/2-793530-20178/a.bmp  https://community.jboss.org/servlet/JiveServlet/downloadImage/2-793530-20178/310-398/a.bmp* 
exception................!!!!!!
*org.jbpm.workflow.instance.WorkflowRuntimeException: [humanTaskFlow:1 - Gateway:6] -- Exception when trying to evaluate constraint Match in split Gateway*
*    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.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:47)*
*    at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:216)*
*    at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:196)*
*    at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:247)*
*    at org.jbpm.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:90)*
*    at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:309)*
*    at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:285)*
*    at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:342)*
*    at org.drools.process.instance.impl.DefaultWorkItemManager.completeWorkItem(DefaultWorkItemManager.java:116)*
*    at org.jbpm.process.workitem.wsht.SyncWSHumanTaskHandler$TaskCompletedHandler.handleCompletedTask(SyncWSHumanTaskHandler.java:361)*
*    at org.jbpm.process.workitem.wsht.SyncWSHumanTaskHandler$TaskCompletedHandler.execute(SyncWSHumanTaskHandler.java:325)*
*    at org.jbpm.task.service.local.LocalTaskService$SimpleEventTransport.trigger(LocalTaskService.java:329)*
*    at org.jbpm.task.event.MessagingTaskEventListener.triggerPayload(MessagingTaskEventListener.java:76)*
*    at org.jbpm.task.event.MessagingTaskEventListener.handleEvent(MessagingTaskEventListener.java:92)*
*    at org.jbpm.task.event.MessagingTaskEventListener.taskCompleted(MessagingTaskEventListener.java:109)*
*    at org.jbpm.task.event.TaskEventSupport.fireTaskCompleted(TaskEventSupport.java:49)*
*    at org.jbpm.task.service.TaskServiceSession.postTaskCompleteOperation(TaskServiceSession.java:569)*
*    at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:495)*
*    at org.jbpm.task.service.local.LocalTaskService.complete(LocalTaskService.java:83)*
*    at com.utsav.poc.LocalTaskClientTest.main(LocalTaskClientTest.java:121)*
*Caused by: java.lang.RuntimeException: Exception when trying to evaluate constraint Match in split Gateway*
*    at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:79)*
*    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)*
*    ... 22 more*
*Caused by: java.lang.RuntimeException: unable to execute ReturnValueEvaluator:* 
*    at org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:132)*
*    at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:72)*
*    ... 23 more*
*Caused by: java.lang.NullPointerException*
*    at com.geneoz.flow.Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32c.returnValueEvaluator5(Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32c.java:48)*
*    at com.geneoz.flow.Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32cReturnValueEvaluator5Invoker.evaluate(Process_com_geneoz_flow_HumanTaskFlow_b_a0f515366213482980bd0febe418f32cReturnValueEvaluator5Invoker.java:18)*
*    at org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:130)*
*    ... 24 more*
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130122/6f3cb35c/attachment-0001.html 


More information about the jboss-user mailing list