没有为特定的内容作者用户加载Sitecore Experience编辑器功能区控件

在sitecore编辑或预览模式下打开任何页面时,sitecore功能区控件不会显示,而是显示以下错误(仅在iframe内部)。页面组件正在加载。这是专门针对内容作者用户而不是其他内容作者用户发生的。请说明用户详细信息是否有问题。

“ /”应用程序中的服务器错误。


对象引用未设置为对象的实例。 说明:执行当前Web请求期间发生未处理的异常。请查看堆栈跟踪,以获取有关错误及其在代码中起源的更多信息。

异常详细信息:System.NullReferenceException:对象引用未设置为对象的实例。

源错误: 当前Web请求的执行期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来标识有关异常的来源和位置的信息。

堆栈跟踪:

[NullReferenceException:对象引用未设置为对象的实例。]    Sitecore.ContentSearch.Client.Pipelines.Search.SearchContentSearchIndex.Process(SearchArgs args)+4314    (Object,Object [])+73    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)+468    Sitecore.Search.XpathQuerySearcher.SelectItems(字符串查询,数据库数据库)+245    Sitecore.Data.Database.SelectItems(字符串查询)+80    Sitecore.Shell.Applications.WebEdit.Commands.OpenmyItems.GetHeader(CommandContext上下文,字符串标题)+178    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.FillParamsFromCommand(CommandContext commandContext,RibbonCommandParams ribbonCommandParams)+97    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Getcommandparameters(物品controlItem,CommandContext commandContext)+78    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallButton(HtmlTextWriter输出,Item按钮,CommandContext commandContext)+77    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter输出,项目按钮,CommandContext commandContext)+633    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter输出,项目块,CommandContext commandContext)+343    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter输出,项目块,CommandContext commandContext,布尔值isContextual,字符串ID)+243    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter输出,项目块,CommandContext commandContext,布尔值isContextual)+160    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter输出,项目条,CommandContext commandContext,Boolean isContextual)+419    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter输出,项目功能区,布尔值isContextual,ListString visibleStripList)+1857    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter输出,Item defaultRibbon,Item contextualRibbon,ListString visibleStripList)+161    Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter输出)+746    system.web.UI.Control.RenderControlInternal(HtmlTextWriter writer,ControlAdapter适配器)+78    Sitecore.Web.HtmlUtil.RenderControl(Control ctl)+79    Sitecore.Shell.Applications.WebEdit.WebEditRibbonForm.RenderRibbon(物品)+684    Sitecore.Shell.Applications.WebEdit.WebEditRibbonForm.OnLoad(EventArgs e)+1172

[TargetinvocationException:调用的目标已引发异常。]    System.RuntimeMethodHandle.InvokeMethod(对象目标,对象[]参数,签名信号,布尔构造函数)+0    System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,Object [] parameters,Object [] arguments)+128    System.Reflection.RuntimeMethodInfo.Invoke(对象obj,Bindingflags invokeAttr,活页夹装订器,Object []参数,CultureInfo文化)+142    Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo方法,Object []参数,Object obj)+89    Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e)+597    system.web.UI.Control.LoadRecursive()+68    system.web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)+3785


版本信息:microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.7.3429.0

zhanjial 回答:没有为特定的内容作者用户加载Sitecore Experience编辑器功能区控件

似乎主数据库尚未被索引,因此“我的项目”和编辑器功能区栏未加载。

完成索引编制后,问题已解决,我可以看到编辑器功能区栏。

本文链接:https://www.f2er.com/2936246.html

大家都在问