浏览Sitecore内容树时出现NullReferenceException

时间:2012-08-21 15:03:55

标签: sitecore sitecore6

我们安装了Sitecore 6.4(Sitecore.NET 6.4.1(rev.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

1 个答案:

答案 0 :(得分:0)

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