【已解决】自定义的参数打开后报错
金蝶云社区-云小爱
云小爱
0人赞赏了该文章 1,677次浏览 未经作者许可,禁止转载编辑于2014年05月20日 14:35:43

自定义开发的一个子系统,新增了一个参数。发布后,在菜单打开就提示报错:
打开的界面默认多了一个组织机构?


发生时间:14:33:07
错误来源: mscorlib
错误信息:Object reference not set to an instance of an object.
===================================================
调用堆栈:

Server stack trace:
at Kingdee.BOS.App.Core.SystemParameterService.Save(Context ctx, BusinessInfo info, DynamicObject obj, Int64 orgId, Int64 acctBookId, Boolean ignoreWarning, Int64 acctpolicyId, String operationNumber)
at Kingdee.BOS.App.Core.SystemParameterService.CreateNewSystemParameter(Context ctx, String parameterObjId)
at Kingdee.BOS.App.Core.SystemParameterService.GetGetParamterXML(Context ctx, Int64 orgId, Int64 acctBookId, String parameterObjId, Int64 acctpolicyID)
at Kingdee.BOS.App.Core.SystemParameterService.Load(Context ctx, Int64 orgId, Int64 acctBookId, String parameterObjId, Int64 acctpolicyID, Boolean bIsRunTime)

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.ISystemParameterService.Load(Context ctx, Int64 orgId, Int64 acctBookId, String parameterObjId, Int64 acctpolicyID, Boolean bIsRunTime)
at Kingdee.BOS.ServiceHelper.SystemParameterServiceHelper.Load(Context ctx, Int64 orgId, Int64 acctBookId, String parameterObjId, Int64 acctpolicyID, Boolean bIsRunTime)
at Kingdee.BOS.Model.SystemParameter.SystemParameterModel.CreateNewData()
at Kingdee.BOS.Web.SystemParameter.SystemParameterView.LoadData()
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.LoadData()
错误数据: System.Collections.ListDictionaryInternal