我流程设置里使用指定人的方式任然无法跳转。
后台错误报告如下
--------------------
Caused by: com.kingdee.bos.workflow.WfException :
工作流执行自动活动时出错.源活动【{0}】
Caused by: com.kingdee.bos.workflow.WfException :
执行条件脚本时发生错误,脚本:approveResult.handlerOpinion <= 2
Caused by: com.kingdee.bos.workflow.WfException :
eval condition error. script is :approveResult.handlerOpinion <= 2
Caused exception message is: 第1行执行出错:
approveResult.handlerOpinion <= 2
leftValue is null
com.kingdee.bos.kscript.runtime.InterpreterException: 第1行执行出错:
approveResult.handlerOpinion <= 2
leftValue is null
at com.kingdee.bos.kscript.TypeUtils.lessThan(TypeUtils.java:1469)
at com.kingdee.bos.kscript.TypeUtils.lessThanOrEqual(TypeUtils.java:1726)
at com.kingdee.bos.kscript.runtime.Interpreter.evalBinaryOpExpr(Interpreter.java:3307)
at com.kingdee.bos.kscript.runtime.Interpreter.evalExprInternal(Interpreter.java:1300)
at com.kingdee.bos.kscript.runtime.Interpreter.eval(Interpreter.java:497)
at com.kingdee.bos.kscript.runtime.Interpreter.eval(Interpreter.java:460)
at com.kingdee.bos.workflow.util.ScriptUtil.evalCondition(ScriptUtil.java:141)
at com.kingdee.bos.workflow.enactment.WfProcess.evalCondition(WfProcess.java:239)
at com.kingdee.bos.workflow.engine.adapter.NormalTransitCondition.test(NormalTransitCondition.java:35)
at com.kingdee.cbos.process.vm.internal.i.node.ExclusiveChoice.invoke(ExclusiveChoice.java:39)
at com.kingdee.cbos.process.vm.internal.r.ExecutionImpl.execute(ExecutionImpl.java:708)
at com.kingdee.cbos.process.vm.internal.r.ControllerImpl.execute(ControllerImpl.java:68)
at com.kingdee.cbos.process.vm.internal.r.ControllerImpl.execute(ControllerImpl.java:54)
at com.kingdee.cbos.process.vm.internal.r.ControllerImpl.execute(ControllerImpl.java:32)
at com.kingdee.cbos.process.vm.internal.r.FlowContextImpl.signal(FlowContextImpl.java:524)
at com.kingdee.bos.workflow.engine.core.thread.FlowInitiator.tryOmitFirstActivitiy(FlowInitiator.java:86)
at com.kingdee.bos.workflow.engine.core.thread.FlowInitiator.execute(FlowInitiator.java:52)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.handler(WfJobHandler.java:175)
at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.kingdee.bos.workflow.util.InvocationExecutor.execute(InvocationExecutor.java:28)
at com.kingdee.bos.workflow.transaction.WfTxInvoker.invoke(WfTxInvoker.java:33)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.kingdee.bos.workflow.metas.InvokeMethodDelegateControllerBean.invoke(InvokeMethodDelegateControllerBean.java:77)
at com.kingdee.bos.workflow.metas.InvokeMethodDelegateControllerBean._invokeRequired(InvokeMethodDelegateControllerBean.java:31)
at com.kingdee.bos.workflow.metas.AbstractInvokeMethodDelegateControllerBean.invokeRequired(AbstractInvokeMethodDelegateControllerBean.java:46)
at sun.reflect.GeneratedMethodAccessor451.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at com.sun.proxy.$Proxy193.invokeRequired(Unknown Source)
at com.kingdee.bos.workflow.metas.InvokeMethodDelegate.invokeRequired(InvokeMethodDelegate.java:61)
at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at com.sun.proxy.$Proxy192.invokeRequired(Unknown Source)
at com.kingdee.bos.workflow.transaction.WfTxHelper.invokeRequired(WfTxHelper.java:83)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.invoke(WfJobHandler.java:71)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.invoke(WfJobHandler.java:163)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.execute(WfJobHandler.java:92)
at com.kingdee.bos.service.job.core.ThreadWorker.execute(ThreadWorker.java:143)
at com.kingdee.bos.service.job.core.ThreadWorker.run(ThreadWorker.java:102)
at java.lang.Thread.run(Thread.java:738)
。
推荐阅读