单据提交时候报An item with the same key has already been added.
金蝶云社区-梁明杰
梁明杰
0人赞赏了该文章 1,089次浏览 未经作者许可,禁止转载编辑于2017年02月07日 16:08:28

[{"operation":"ER_ExpenseRequest_List.MBIClick.tbSplitSubmit"}]
发生时间:16:07:21
错误来源: mscorlib
错误信息:An item with the same key has already been added.
===================================================
调用堆栈:

Server stack trace:
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Kingdee.K3.FIN.BM.App.Core.BudgetCtrl.Actions.InitVariablesAction.InitBudgetPlatformInfo()
at Kingdee.K3.FIN.BM.App.Core.BudgetCtrl.Actions.InitVariablesAction.DoAction()
at Kingdee.BOS.Core.BusinessPolicyModel.BusinessPolicyEngine.Do(OperateOption context)
at Kingdee.K3.FIN.BM.App.Core.BudgetCtrl.BudgetCtrlEngine.Run()
at Kingdee.K3.FIN.BM.App.Core.BudgetData.BudgetDataCtrl.DoBudgetCtrl(BudgetBillInfo budgetBillInfo, DynamicObject ctrlPlate, BudgetCtrlProgress progressManager, BudgetCtrlLog logRecorder)
at Kingdee.K3.FIN.BM.App.Core.BudgetData.BudgetDataCtrl.BudgetCtrl(BudgetBillInfo budgetBillInfo, BudgetCtrlParam ctrlParam)
at Kingdee.K3.FIN.BM.App.Core.BudgetData.BudgetDataCtrl.BudgetCtrl(String formID, Object[] fids, String operationNumber)
at Kingdee.K3.FIN.BM.App.Core.BudgetCtrl.BudgetCtrlValidator.Validate(ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Context ctx)
at Kingdee.BOS.App.Core.Validation.ValidationService.Validate(IEnumerable`1 dataEntities, ValidateContext validateContext, AbstractValidator[] validators)
at Kingdee.BOS.App.Core.Validation.ValidationService.TryValidate(IEnumerable`1 dataEntities, ValidateContext validateContext, List`1& errorInfo)
at Kingdee.BOS.App.Core.AbstractOprerationService.TryValidate()
at Kingdee.BOS.App.Core.AbstractOprerationService.Validate()
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(Object[] ids)
at Kingdee.BOS.App.Core.Submit.Excute(Object[] ids)
at Kingdee.BOS.App.Core.SubmitService.Submit(Context ctx, BusinessInfo businessInfo, Object[] Ids, String operationNumber, OperateOption option)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.ISubmitService.Submit(Context ctx, BusinessInfo businessInfo, Object[] Ids, String operationNumber, OperateOption option)
at Kingdee.BOS.Workflow.App.Core.BOSWorkflowService.ListSubmit(Context ctx, BusinessInfo businessInfo, Nullable`1 originatorPostId, Object[] Ids, List`1 prcList, OperateOption option)
at Kingdee.BOS.Workflow.ServiceHelper.BOSWorkflowServiceHelper.ListSubmit(Context ctx, BusinessInfo businessInfo, Nullable`1 originatorPostId, Object[] Ids, List`1 prcList, OperateOption option)
at Kingdee.BOS.Business.Bill.Operation.Submit.DoWorkflowSubmit(IOperationResult fullResult, String[] ids)
at Kingdee.BOS.Business.Bill.Operation.Submit.BatSubmit(Int32 loopTimes, Int32 iBat, String[] _idList, IOperationResult fullResult)
at Kingdee.BOS.Business.Bill.Operation.Submit.DoSubmit(IOperationResult fullResult)
at Kingdee.BOS.Business.Bill.Operation.Submit.ExecuteOperation()
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Execute(InvokeFormOperation4WfParam param, CallBackWfAfterOperation callbackwf)
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.InvokeFormOperation(String operationNumber)
at Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
at Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
at Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
at Kingdee.BOS.Web.List.ListView.MainBarItemClick(String barItemKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal

上午还可以用的,现在报销单,申请单都报错,请问是什么原因啊