另一个愚蠢的...试图访问最初由管理员作为普通用户创建的现有内容项,但得到以下多汁的异常。我可以以该用户的身份查看内容树中的项目,但是当我单击某个项目以查看它时引发异常(并且可能在下一步中对其进行编辑)。
“/”应用程序中的服务器错误。
不允许使用空 ID。参数名称:displayName
说明:执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。
异常详细信息:System.ArgumentNullException:不允许空 ID。参数名称:displayName
源错误:
在执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常起源和位置的信息。
堆栈跟踪:
[ArgumentNullException:不允许空 ID。参数名称:displayName]
Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName) +75
Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderSectionBegin(Control parent, String controlId, String sectionName, String displayName, String icon, Boolean isCollapsed , 布尔渲染字段)+69
Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderSectionPanel(XmlNode 元素)+214
Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode 元素)+487
Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.AddText(XmlNode 元素)+423
Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode 元素)+533
Sitecore.Shell.Applications.ContentEditor。 Pipelines.RenderContentEditor.RenderSkinedContentEditor.AddText(XmlNode 元素)+423
Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.RenderElement(XmlNode 元素)+533
Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.Render( XmlDocument 皮肤)+93
Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderSkinedContentEditor.Process(RenderContentEditorArgs args) +353 (Object , Object[] ) +61
Sitecore.Pipelines.PipelineMethod.Invoke(Object[] 参数) +36
Sitecore.Pipelines.CoreProcessor .Invoke(Object[] 参数) +43
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +133
Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +154
Sitecore.Pipelines.CorePipeline .Run(String pipelineName, PipelineArgs args, String pipelineDomain) +64
Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args) +50
Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArgs args, Control parent) +450
Sitecore.Shell.Applications.ContentManager.Editor.Render(Item item, Item root, Hashtable fieldInfo, Control parent, Boolean showEditor) +239 Sitecore .Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item item, Item root, Control parent, Boolean showEditor) +153
Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(Item 文件夹, Item root, Boolean showEditor) +238
Sitecore。 Shell.Applications.ContentManager.ContentEditorForm.Update() +249 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e) +116[TargetInvocationException: 调用的目标已抛出异常。]
System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo 方法, 对象目标, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo方法、对象目标、对象 [] 参数、签名 sig、MethodAttributes 方法属性、RuntimeType typeOwner) +69
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] 参数, CultureInfo 文化, Boolean skipVisibilityChecks) + 306
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] 参数, CultureInfo 文化) +22 System.Reflection.MethodBase.Invoke(Object obj, Object[] 参数) +19
Sitecore.Reflection.ReflectionUtil .InvokeMethod(MethodInfo 方法, Object[] 参数, Object obj) +38
Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Boolean includeStatic, Object[] 参数) +104
Sitecore .Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] 参数) +26
Sitecore.Reflection.ReflectionUtil.CallMethod(Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] 参数) +41
Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e) +87 System.Web.UI。 Control.PreRenderRecursiveInternal() +150
System.Web.UI.Page.ProcessRequestMain(布尔型 includeStagesBeforeAsyncPoint,布尔型 includeStagesAfterAsyncPoint)+2838版本信息:Microsoft .NET Framework 版本:4.0.30319;ASP.NET 版本:4.0.30319.272