Details

      Description

      16:51:23,995 ERROR [liferay/kaleo_graph_walker-36][ParallelDestination:72] Unable to process message {destinationName=liferay/kaleo_graph_walker, response=null, responseDestinationName=null, responseId=null, payload=com.liferay.portal.workflow.kaleo.runtime.graph.PathElement@29d086d8, values={permissionChecker=com.liferay.portal.kernel.util.TransientValue@3944e45a, principalName=15278, companyId=10157}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.scripting.ScriptingException: No such property: returnValue for class: groovy.lang.Binding_Line 1: _Line 2: import com.liferay.portal.kernel.util.GetterUtil;_Line 3: import com.liferay.portal.kernel.workflow.WorkflowConstants; _Line 4: import com.liferay.portal.kernel.util.Validator;_Line 5: import java.io.*;_Line 6: import java.io.IOException;_Line 7: import com.pwc.srei.dao.RMSourcingIncentiveReportDAO;_Line 8: boolean ar = false; _Line 9: try

      { _Line 10: long classPK = GetterUtil.getLong((String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_PK));_Line 11: ar= new RMSourcingIncentiveReportDAO().gtAuditReq(classPK);_Line 12: System.out.println("classPK> :"+classPK);_Line 13: }

      catch(Exception e){}_Line 14: _Line 15: if(ar){_Line 16: returnValue = "Audit-Approved";_Line 17: }else{_Line 18: returnValue = "Hr-Approve";_Line 19: }_Line 20: _ [Sanitized]
      at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
      at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:69)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: com.liferay.portal.kernel.scripting.ScriptingException: No such property: returnValue for class: groovy.lang.Binding_Line 1: _Line 2: import com.liferay.portal.kernel.util.GetterUtil;_Line 3: import com.liferay.portal.kernel.workflow.WorkflowConstants; _Line 4: import com.liferay.portal.kernel.util.Validator;_Line 5: import java.io.*;_Line 6: import java.io.IOException;_Line 7: import com.pwc.srei.dao.RMSourcingIncentiveReportDAO;_Line 8: boolean ar = false; _Line 9: try

      { _Line 10: long classPK = GetterUtil.getLong((String)workflowContext.get(WorkflowConstants.CONTEXT_ENTRY_CLASS_PK));_Line 11: ar= new RMSourcingIncentiveReportDAO().gtAuditReq(classPK);_Line 12: System.out.println("classPK> :"+classPK);_Line 13: }

      catch(Exception e){}_Line 14: _Line 15: if(ar){_Line 16: returnValue = "Audit-Approved";_Line 17: }else{_Line 18: returnValue = "Hr-Approve";_Line 19: }_Line 20: _ [Sanitized]
      at com.liferay.portal.scripting.ScriptingImpl.eval(ScriptingImpl.java:95)
      at com.liferay.portal.kernel.scripting.ScriptingUtil.eval(ScriptingUtil.java:44)
      at com.liferay.portal.workflow.kaleo.runtime.condition.ScriptingConditionEvaluator.evaluate(ScriptingConditionEvaluator.java:45)
      at com.liferay.portal.workflow.kaleo.runtime.condition.MultiLanguageConditionEvaluator.evaluate(MultiLanguageConditionEvaluator.java:49)
      at com.liferay.portal.workflow.kaleo.runtime.node.ConditionNodeExecutor.doExecute(ConditionNodeExecutor.java:67)
      at com.liferay.portal.workflow.kaleo.runtime.node.BaseNodeExecutor.execute(BaseNodeExecutor.java:82)
      at com.liferay.portal.workflow.kaleo.runtime.graph.DefaultGraphWalker.follow(DefaultGraphWalker.java:66)
      at sun.reflect.GeneratedMethodAccessor940.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at com.sun.proxy.$Proxy453.follow(Unknown Source)
      at com.liferay.portal.workflow.kaleo.runtime.graph.messaging.PathElementMessageListener.doReceive(PathElementMessageListener.java:54)
      at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      ... 5 more
      Caused by: groovy.lang.MissingPropertyException: No such property: returnValue for class: groovy.lang.Binding
      at groovy.lang.Binding.getVariable(Binding.java:60)
      at com.liferay.portal.scripting.groovy.GroovyExecutor.eval(GroovyExecutor.java:72)
      at com.liferay.portal.scripting.ScriptingImpl.eval(ScriptingImpl.java:90)
      ... 26 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              KOUSIK89 KOUSIK MANDAL
              Recent user:
              Shalaka Tendulkar
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: