gpt4 book ai didi

sitecore - 浏览 Sitecore 内容树时出现 NullReferenceException

转载 作者:行者123 更新时间:2023-12-02 19:06:18 25 4
gpt4 key购买 nike

我们安装了 Sitecore 6.4(Sitecore.NET 6.4.1(修订版 110621)),部署到负载平衡环境中的两台服务器。对于其中一台(且仅有一台)服务器,当您在内容编辑器中浏览内容树时,您会收到如下堆栈跟踪。它并不总是错误,但一旦你看到错误,它总是会发生。

[NullReferenceException: Object reference not set to an instance of an object.]
Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnLoad(EventArgs e) +1636

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +0
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +639
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +38
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] parameters) +37
Sitecore.Reflection.ReflectionUtil.CallMethod(Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] parameters) +66
Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e) +420
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064

最佳答案

正如 @techphoria414 所说,请确保您已阅读 Scalability Guide并确保您已将 ..Website\App_Config\Include\ScalabilitySettings.config.example 重命名为 ScalabilitySettings.config 并检查该配置中的各种设置。

关于sitecore - 浏览 Sitecore 内容树时出现 NullReferenceException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12057816/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com