Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 8:  
Line 9:  <div class="container interior-components">
Line 10:   <div class="row component-full" data-site-sections="@Model.Item["Site Sections"]">
Line 11:     <div class="col-md-12">
Line 12:    <div class="supplement-wrapper @Model.CenterClass">

Source File: e:\inetpub\wwwroot\NorthHighland\Website\Areas\NH\Views\Shared\content\Full\_Content.cshtml    Line: 10

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP._Page_Areas_NH_Views_Shared_Content_Full__Content_cshtml.Execute() in e:\inetpub\wwwroot\NorthHighland\Website\Areas\NH\Views\Shared\content\Full\_Content.cshtml:10
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +279
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +102
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +172
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +157
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +222

[InvalidOperationException: Error while rendering view: '/Areas/NH/Views/Shared/Content/Full/_Content.cshtml' (model: 'NH.Web.Areas.NH.Models.Content.Content, NH.Web').
]
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +773
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +27
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +62
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +192
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +291
   ASP._Page_Areas_NH_Views_Shared_Containers__ThreeColumnsContentUnscrollableWithSubNav_cshtml.Execute() in e:\inetpub\wwwroot\NorthHighland\Website\Areas\NH\Views\Shared\Containers\_ThreeColumnsContentUnscrollableWithSubNav.cshtml:28
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +103
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +173
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +158
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +223

[InvalidOperationException: Error while rendering view: '/Areas/NH/Views/Shared/Containers/_ThreeColumnsContentUnscrollableWithSubNav.cshtml' (model: 'NH.Web.Areas.NH.Models.Content.Container, NH.Web').
]
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +773
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +27
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +62
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +192
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +291
   ASP._Page_Areas_NH_Views_Layouts_Main_cshtml.Execute() in e:\inetpub\wwwroot\NorthHighland\Website\Areas\NH\Views\Layouts\Main.cshtml:152
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +103
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +173
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +158
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +223

[InvalidOperationException: Error while rendering view: '/Areas/NH/Views/Layouts/Main.cshtml' (model: 'Score.Data.ViewModels.Base.ContentPage, Score.Data').
]
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +773
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +27
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +62
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +294
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378
   System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +33
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +681296
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +681296
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +420