入转调离批量审批,最后一个审批节点审批时,只有一条审批通过,第二条显示挂起报错。一条一条审批则审批完成。报错文件如下:
------
Caused by: com.kingdee.bos.workflow.WfException :
工作流执行自动活动时出错.源活动【{0}】
Caused by: com.kingdee.bos.workflow.WfException :
自动活动【自动】执行时出现异常:自动任务【离职处理编辑功能(com.kingdee.eas.hr.affair.app.ResignBizBillEditUIFunction)】的操作【设置审批通过(ActionSetAudited)】时发生错误
parameters:{tlaT3AAqSaif/BY4z/5wisxYphc=}
Caused by: com.kingdee.bos.BOSException :
localInvoke error in Context[solu:eas ais:PX metadataPath:C:\Kingdee_sHR\eas\server\metas\bos\mdbview-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_permission-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\rpts_report-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\mobile-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bosframework-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\eas_common-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_myeas-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\eas_dip-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_codingrule-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_job-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\eas_ep-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\cp_sso-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\ni_rpt_framework-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bd_org-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_uiframe-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_bos_bas-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\license-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_weibo-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_log-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\eas_framework-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\wf_monitor-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_usermonitor-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_common-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_ctrl_ext-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_multiapprove-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\eas_portal-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_botp-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\wf_report-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_commonquery-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_attachment-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_rpt_framework-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_security-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_netctrl-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\eas_biframework-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\formulaplatform-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_ctrl_bi-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_bos_portal-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_bos_bpm-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\webbim-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\log_bos_bas-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_eas_ep-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_eas_dip-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_bos_mobile-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\log_bos_dip-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_forewarn-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_noteprint-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\eas_bimanager-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_uict-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\uimodel-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_bos_frmwk-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\log_bas-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_bas-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_frmwk-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\permission_bim-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\log_portal-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\package-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bim-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bi_subject-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\bs_wf-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\cp_autoupdater-metas.jar,C:\Kingdee_sHR\eas\server\metas\bos\cp_sso_user-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_ats-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_voucher-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_costbudget-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_socialsecurity-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_compensation-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_report-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_org-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_affair-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_emp-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_contract-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_person-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_base-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_syssetting-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_assitant_cost-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_org_ext-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_hraux-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_performance-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_recuritment-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_service-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_atscontrl-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_message-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_train-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\permission_basedata-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_material-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_custsupp-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_auxacct-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\permission_hremp-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_compensation-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_scm-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_assitant-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_orgbase-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_param-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_forewarn-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_empservice-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_objectives-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\shr_perf-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_ml-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\permission_hrdev-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_core_hr-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_framework-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\eas_datatask-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_rec-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_time-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\permission_hrcomp-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_train-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\permission_hrdevweb-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_state-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_qualifications-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_party-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_kt-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_cadre-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_benefit-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\permission_hrsoc-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_tobacco-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_standby-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_account-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\eas_dynbusiness_adv-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\eas_dynbusiness-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\cp_mc-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_core_scm-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_material_inventory-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_common-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_custsupp_scm-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\log_basedata-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_dap-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\cp_mgtcom-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_core-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_core_fi-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_compbudget-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_core_fm-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\cp_pc-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_receiver-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_material_sale-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_material_purchase-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_material_cost-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_fme_framework-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\log_hremp-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\log_hrdev-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\log_hrcomp-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bd_material_plan-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\log_hrsoc-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\hr_api-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_core_mm-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\bs_form_extend-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\cp_fts-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\permission-metas.jar,C:\Kingdee_sHR\eas\server\metas\eas\package-metas.jar], env_ais:PX
Caused exception message is: Sql1 execute exception : update T_HR_AffairBizHistory set FEmpTypeID = '00000000-0000-0000-0000-000000000001A29E85B3' where FEntryID = 'qzHy63ixSWSDSpeQ3OolWZpeqJs='
Caused exception message is: 事务(进程 ID 67)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。
Caused by: com.kingdee.bos.BOSException :
Sql1 execute exception : update T_HR_AffairBizHistory set FEmpTypeID = '00000000-0000-0000-0000-000000000001A29E85B3' where FEntryID = 'qzHy63ixSWSDSpeQ3OolWZpeqJs='
Caused exception message is: 事务(进程 ID 67)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。
java.sql.SQLException: 事务(进程 ID 67)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:631)
at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:546)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:723)
at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1157)
at com.kingdee.bos.sql.shell.KDStatement.execute(KDStatement.java:471)
at com.apusic.jdbc.adapter.StatementHandle.execute(Unknown Source)
at com.kingdee.eas.util.app.DbUtil.execute(DbUtil.java:255)
at com.kingdee.eas.hr.base.app.HRBillAppUtils.updateAffairBizHistory(HRBillAppUtils.java:688)
at com.kingdee.eas.hr.affair.app.ResignBizBillControllerBean._doWithOtherChangeEffect(ResignBizBillControllerBean.java:146)
at com.kingdee.eas.hr.affair.app.HRAffairBizBillControllerBean._entryEffect(HRAffairBizBillControllerBean.java:129)
at com.kingdee.eas.hr.affair.app.ResignBizBillControllerBean._entryEffect(ResignBizBillControllerBean.java:151)
at com.kingdee.eas.hr.base.app.HRBillBaseControllerBean._entryEffectCommon(HRBillBaseControllerBean.java:526)
at com.kingdee.eas.hr.base.app.HRBillBaseControllerBean._auditEntryEffect(HRBillBaseControllerBean.java:341)
at com.kingdee.eas.hr.base.app.HRBillBaseControllerBean._setAudited(HRBillBaseControllerBean.java:296)
at com.kingdee.eas.hr.affair.app.HRAffairBizBillControllerBean._setAudited(HRAffairBizBillControllerBean.java:368)
at com.kingdee.eas.hr.affair.app.ResignBizBillControllerBean._setAudited(ResignBizBillControllerBean.java:253)
at com.kingdee.eas.hr.base.app.AbstractHRBillBaseControllerBean.setAudited(AbstractHRBillBaseControllerBean.java:200)
at sun.reflect.GeneratedMethodAccessor1634.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.metadata.function.FunctionInvoke.innerLocalInvoke(FunctionInvoke.java:301)
at com.kingdee.bos.metadata.function.FunctionInvoke.localInvokeNoProxy(FunctionInvoke.java:138)
at com.kingdee.bos.workflow.biz.FunctionHelper.invokeAutomatic(FunctionHelper.java:86)
at com.kingdee.bos.workflow.enactment.app.DefaultApplicationManager.invokeTool(DefaultApplicationManager.java:599)
at com.kingdee.bos.workflow.enactment.app.DefaultApplicationManager.invokeApplication(DefaultApplicationManager.java:339)
at com.kingdee.bos.workflow.enactment.ToolActivityRunner.invoke(ToolActivityRunner.java:149)
at com.kingdee.bos.workflow.engine.app.ToolActivityInvoker.invoke(ToolActivityInvoker.java:29)
at com.kingdee.cbos.process.vm.internal.i.wrapper.ApplicationWrapper.invoke(ApplicationWrapper.java:38)
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.FlowSignaler.execute(FlowSignaler.java:80)
at com.kingdee.bos.workflow.engine.core.thread.WfJobHandler.handler(WfJobHandler.java:175)
at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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.GeneratedMethodAccessor182.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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.GeneratedMethodAccessor377.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy267.invokeRequired(Unknown Source)
at com.kingdee.bos.workflow.metas.InvokeMethodDelegate.invokeRequired(InvokeMethodDelegate.java:61)
at sun.reflect.GeneratedMethodAccessor376.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy266.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:810)
------