有时会发生某些事情并且果园布局模块开始不正常工作:
在这种情况下,我启用并禁用了果园布局模块开始正常工作的输出缓存模块。
我也将此消息发布到codeplex https://orchard.codeplex.com/workitem/21305这是一个严重错误,会阻止生产网站的正常工作。你可能知道我该怎么办?
进入日志的错误之一
2015-03-31 09:08:38,594 [93] Orchard.ContentManagement.Drivers.Coordinators.ContentPartDriverCoordinator - Default - NullReferenceException thrown from IContentPartDriver by Orchard.Layouts.Drivers.LayoutPartDriver
System.NullReferenceException: Object reference not set to an instance of an object.
в Orchard.Layouts.Services.ElementFactory.Activate(ElementDescriptor descriptor, Action`1 initialize)
в Orchard.Layouts.Services.ElementManager.ActivateElement(ElementDescriptor descriptor, Action`1 initialize)
в Orchard.Layouts.Services.ContentModelMap.ToElement(IElementManager elementManager, DescribeElementsContext describeContext, JToken node)
в Orchard.Layouts.Services.LayoutModelMapper.LoadElement(JToken node, Container parent, Int32 index, DescribeElementsContext describeContext)
в Orchard.Layouts.Services.LayoutModelMapper.ParseEditorNode(JToken node, Container parent, Int32 index, DescribeElementsContext describeContext)
в Orchard.Layouts.Services.LayoutModelMapper.<>c__DisplayClass10.<ParseEditorNode>b__d(JToken x, Int32 i)
в System.Linq.Enumerable.<SelectIterator>d__7`2.MoveNext()
в System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
в System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
в System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
в Orchard.Layouts.Services.LayoutModelMapper.ParseEditorNode(JToken node, Container parent, Int32 index, DescribeElementsContext describeContext)
в Orchard.Layouts.Services.LayoutModelMapper.<>c__DisplayClass10.<ParseEditorNode>b__d(JToken x, Int32 i)
в System.Linq.Enumerable.<SelectIterator>d__7`2.MoveNext()
в System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
в System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
в System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
в Orchard.Layouts.Services.LayoutModelMapper.ParseEditorNode(JToken node, Container parent, Int32 index, DescribeElementsContext describeContext)
в Orchard.Layouts.Services.LayoutModelMapper.<>c__DisplayClass10.<ParseEditorNode>b__d(JToken x, Int32 i)
в System.Linq.Enumerable.<SelectIterator>d__7`2.MoveNext()
в System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
в System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
в System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
в Orchard.Layouts.Services.LayoutModelMapper.ParseEditorNode(JToken node, Container parent, Int32 index, DescribeElementsContext describeContext)
в Orchard.Layouts.Services.LayoutModelMapper.<>c__DisplayClass10.<ParseEditorNode>b__d(JToken x, Int32 i)
в System.Linq.Enumerable.<SelectIterator>d__7`2.MoveNext()
в System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
в System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
в System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
в Orchard.Layouts.Services.LayoutModelMapper.ParseEditorNode(JToken node, Container parent, Int32 index, DescribeElementsContext describeContext)
в Orchard.Layouts.Services.LayoutModelMapper.<ToLayoutModel>d__6.MoveNext()
в System.Linq.Buffer`1..ctor(IEnumerable`1 source)
в System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
в Orchard.Layouts.Drivers.LayoutPartDriver.<>c__DisplayClass12.<Editor>b__11()
в Orchard.ContentManagement.Drivers.ContentPartDriver`1.<>c__DisplayClass15.<ContentShape>b__14(BuildShapeContext ctx) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\Orchard\ContentManagement\Drivers\ContentPartDriver.cs:line 196
в Orchard.ContentManagement.Drivers.ContentPartDriver`1.<>c__DisplayClass1b.<ContentShapeImplementation>b__1a(BuildShapeContext ctx) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\Orchard\ContentManagement\Drivers\ContentPartDriver.cs:line 205
в Orchard.ContentManagement.Drivers.ContentShapeResult.ApplyImplementation(BuildShapeContext context, String displayType) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\Orchard\ContentManagement\Drivers\ContentShapeResult.cs:line 45
в Orchard.ContentManagement.Drivers.ContentShapeResult.Apply(BuildEditorContext context) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\Orchard\ContentManagement\Drivers\ContentShapeResult.cs: line 25
в Orchard.ContentManagement.Drivers.Coordinators.ContentPartDriverCoordinator.<>c__DisplayClass10.<UpdateEditor>b__f(IContentPartDriver driver) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\Orchard\ContentManagement\Drivers\Coordinators\ContentPartDriverCoordinator.cs:line 65
в Orchard.InvokeExtensions.Invoke[TEvents](IEnumerable`1 events, Action`1 dispatch, ILogger logger) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\Orchard\InvokeExtensions.cs:line 17