ous2k [https://community.jboss.org/people/ous2k] created the discussion

"Re: JBPM5 gateway constraint access to own Object attributes"

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

--------------------------------------------------------------
*Thx  https://community.jboss.org/people/swiderski.maciej Maciej Swiderski i 
have tried that but there is some thing else wrong ,*
*to in same wave i have added the process varibale myLoan as an object and 
className com.sample.Loan from using properties palette on eclipse*

ava.lang.RuntimeException: Exception when trying to evaluate constraint VIP in 
split Gateway
          at 
org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:79)
          at 
org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
          at 
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
          at 
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
          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:122)
          at 
org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
          at 
org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)
          at 
org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303)
          at 
org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168)
          at 
org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138)
          at 
org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1079)
          at 
org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:306)
          at com.sample.CustomerSelection.main(CustomerSelection.java:32)
Caused by: java.lang.RuntimeException: unable to execute ReturnValueEvaluator
          at 
org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:130)
          at 
org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:72)
          ... 14 more
Caused by: [Error: null pointer: loan.isDeliveryStatus()]
[Near : {... return loan.isDeliveryStatus() ....}]
             ^
[Line: 1, Column: 1]
          at 
org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:434)
          at 
org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:141)
          at org.mvel2.ast.ASTNode.optimize(ASTNode.java:157)
          at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:113)
          at 
org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:38)
          at 
org.mvel2.ast.ReturnNode.getReducedValueAccelerated(ReturnNode.java:50)
          at org.mvel2.MVELRuntime.execute(MVELRuntime.java:87)
          at 
org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:122)
          at 
org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:115)
          at org.mvel2.MVEL.executeExpression(MVEL.java:930)
          at 
org.jbpm.process.instance.impl.MVELReturnValueEvaluator.evaluate(MVELReturnValueEvaluator.java:100)
          at 
org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:128)
          ... 15 more
Caused by: java.lang.NullPointerException
          at 
org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:395)
          ... 26 more
Best Regards
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to