System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Web.PublishedContentExtensions.IsDocumentType(IPublishedContent content, String docTypeAlias) in d:\a\1\s\src\Umbraco.Web\PublishedContentExtensions.cs:line 249
at ASP._Page_Views_MacroPartials_ProductCarousel_cshtml.Execute() in C:\home\site\wwwroot\Views\MacroPartials\ProductCarousel.cshtml:line 19
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
at Umbraco.Web.Mvc.ProfilingView.Render(ViewContext viewContext, TextWriter writer) in d:\a\1\s\src\Umbraco.Web\Mvc\ProfilingView.cs:line 25
at Umbraco.Web.Mvc.ControllerExtensions.RenderViewResultAsString(ControllerBase controller, ViewResultBase viewResult) in d:\a\1\s\src\Umbraco.Web\Mvc\ControllerExtensions.cs:line 74
at Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, IPublishedContent content) in d:\a\1\s\src\Umbraco.Web\Macros\PartialViewMacroEngine.cs:line 98
at Umbraco.Web.Macros.MacroRenderer.<>c__DisplayClass17_0.<ExecuteMacroOfType>b__0() in d:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:line 334
at Umbraco.Web.Macros.MacroRenderer.ExecuteProfileMacroWithErrorWrapper(MacroModel macro, String msgIn, Func`1 getMacroContent, Func`1 msgErr) in d:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:line 305
at Umbraco.Web.Macros.MacroRenderer.ExecuteMacroWithErrorWrapper(MacroModel macro, String msgIn, String msgOut, Func`1 getMacroContent, Func`1 msgErr) in d:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:line 264
at Umbraco.Web.Macros.MacroRenderer.ExecuteMacroOfType(MacroModel model, IPublishedContent content) in d:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:line 331
at Umbraco.Web.Macros.MacroRenderer.Render(MacroModel macro, IPublishedContent content, IDictionary pageElements) in d:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:line 237
at Umbraco.Web.Macros.MacroRenderer.Render(String macroAlias, IPublishedContent content, IDictionary`2 macroParams) in d:\a\1\s\src\Umbraco.Web\Macros\MacroRenderer.cs:line 208
at Umbraco.Web.UmbracoComponentRenderer.RenderMacro(String alias, IDictionary`2 parameters, IPublishedContent content) in d:\a\1\s\src\Umbraco.Web\UmbracoComponentRenderer.cs:line 116
at Umbraco.Web.UmbracoComponentRenderer.RenderMacro(Int32 contentId, String alias, IDictionary`2 parameters) in d:\a\1\s\src\Umbraco.Web\UmbracoComponentRenderer.cs:line 100
at Umbraco.Web.UmbracoHelper.RenderMacro(String alias, IDictionary`2 parameters) in d:\a\1\s\src\Umbraco.Web\UmbracoHelper.cs:line 171
at ASP._Page_Views_Partials_grid_editors_Macro_cshtml.Execute() in C:\home\site\wwwroot\Views\Partials\grid\editors\Macro.cshtml:line 15
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
at Umbraco.Web.Mvc.ProfilingView.Render(ViewContext viewContext, TextWriter writer) in d:\a\1\s\src\Umbraco.Web\Mvc\ProfilingView.cs:line 25
at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model)
at ASP._Page_Views_Partials_grid_editors_Base_cshtml.Execute() in C:\home\site\wwwroot\Views\Partials\grid\editors\Base.cshtml:line 20