Server Error in '/' Application.

Value cannot be null.
Parameter name: item

Description: An unhandled exception occurred.

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

Source Error:


Line 44: 	</head>
Line 45: 	<body>
Line 46:         @Html.Sitecore().Placeholder("css-placeholder")
Line 47:         @Html.Sitecore().Placeholder("scripts-placeholder")
Line 48:         @Html.Sitecore().Placeholder("header-placeholder")

Source File: c:\inetpub\wwwroot\Sitecore\Website\Areas\Public\Views\BlankLayout.cshtml    Line: 46

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: item]
   Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName) +63
   Sitecore.Web.UI.WebControls.FieldRenderer.Render(Item item, String fieldName) +33
   HoraceMann.Areas.Public.Models.Shared.HtmlContentModel.Initialize(Rendering rendering) in E:\TFS\Marketing\Customer\PublicSite\PublicSite\Main\Source\HoraceMann.PublicSite.WebApplication\Areas\Public\Models\Shared\HtmlContentModel.cs:26
   (Object , Object[] ) +74
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +184
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +164
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +161
   Sitecore.Mvc.Presentation.Rendering.GetModel() +274
   Sitecore.Mvc.Presentation.Rendering.get_Model() +30
   Sitecore.Mvc.Extensions.ObjectExtensions.ValueOrDefault(T source, Func`2 resultGetter) +60
   Sitecore.Mvc.Presentation.ViewRenderer.get_Model() +144
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +87

[InvalidOperationException: Error while rendering view: '/Areas/Public/Views/Renderers/HtmlContent.cshtml'.
]
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +647
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +30
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73
   (Object , Object[] ) +74
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +184
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +164
   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +215
   (Object , Object[] ) +74
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +184
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +164
   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +240
   ASP._Page_Areas_Public_Views_BlankLayout_cshtml.Execute() in c:\inetpub\wwwroot\Sitecore\Website\Areas\Public\Views\BlankLayout.cshtml:46
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +147
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +156
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +175

[InvalidOperationException: Error while rendering view: '/Areas/Public/Views/BlankLayout.cshtml' (model: 'HoraceMann.Areas.Public.Models.BlankLayoutModel, HoraceMann').
]
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +647
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +30
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +73
   (Object , Object[] ) +74
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +184
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +164
   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +301
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +31
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +399