Server Error in '/' Application.

Value cannot be null.
Parameter name: templateField

Description: An unhandled exception occurred.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: templateField

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: templateField]
   Sitecore.Data.Items.ItemUtil.IsDataField(TemplateField templateField) +153
   Sitecore.Data.Items.RenderingItem.IsAvailableNotBlobNotSystemFieldInternal(Field field) +208
   Sitecore.Data.Items.RenderingItem.CacheDataRetrieving(String key, Func`1 getValueToCache) +282
   Sitecore.Data.Items.RenderingItem.get_Parameters() +561
   Sitecore.Mvc.Presentation.XmlBasedRenderingParser.AddRenderingItemProperties(Rendering rendering) +229
   Sitecore.Mvc.Presentation.XmlBasedRenderingParser.Parse(XElement node, Boolean parseChildNodes) +1390
   Sitecore.Mvc.Pipelines.Response.BuildPageDefinition.ProcessXmlBasedLayoutDefinition.GetRendering(XElement renderingNode, Guid deviceId, Guid layoutId, String renderingType, XmlBasedRenderingParser parser) +35
   Sitecore.Mvc.Pipelines.Response.BuildPageDefinition.<GetRenderings>d__2.MoveNext() +937
   System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) +552
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +191
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +197
   Sitecore.Mvc.Presentation.PageContext.GetPageDefinition() +257
   Sitecore.Mvc.Presentation.PageContext.get_PageDefinition() +28
   Sitecore.Mvc.Presentation.PageContext.GetPageView() +128
   Sitecore.Mvc.Presentation.PageContext.get_PageView() +28
   Sitecore.Mvc.Controllers.SitecoreController.GetDefaultAction() +64
   lambda_method(Closure , ControllerBase , Object[] ) +81
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +248
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +125
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +640
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +640
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +312
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +351