Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
After upgrading to 7.4 this
@{ Html.RenderPartial("ResultMatchDetail", Model.MatchResults); }
gives
Exception thrown: 'System.NullReferenceException' in umbraco.dll
Additional information: Object reference not set to an instance of an object.
Stacktrace at Umbraco.Web.Mvc.UmbracoViewPage`1.SetViewData(ViewDataDictionary viewData) at System.Web.Mvc.WebViewPage.setViewData(ViewDataDictionary value) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) at System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper htmlHelper, String partialViewName, Object model) at ASP.PageViewsPartialsResultMatchHeadercshtml.Execute() in c:\websites\MensSection\MensSection\Views\Partials\ResultMatchHeader.cshtml:line 44
The header of the called view looks like this:
@using MensSection.Models
@model ResultMemberDetailViewModel
...
Any ideas ?
/PaulS
Thanks, we're aware and investigating: http://issues.umbraco.org/issue/U4-7950
An updated, a fixed dll is now available on that issue ( http://issues.umbraco.org/issue/U4-7950 ) which can be used until 7.4.1 is out.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Html.RenderPartial fails after upgrading to 7.4
Hi
After upgrading to 7.4 this
gives
Exception thrown: 'System.NullReferenceException' in umbraco.dll
Additional information: Object reference not set to an instance of an object.
Stacktrace at Umbraco.Web.Mvc.UmbracoViewPage`1.SetViewData(ViewDataDictionary viewData) at System.Web.Mvc.WebViewPage.setViewData(ViewDataDictionary value) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) at System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper htmlHelper, String partialViewName, Object model) at ASP.PageViewsPartialsResultMatchHeadercshtml.Execute() in c:\websites\MensSection\MensSection\Views\Partials\ResultMatchHeader.cshtml:line 44
The header of the called view looks like this:
@using MensSection.Models
@model ResultMemberDetailViewModel
...
Any ideas ?
/PaulS
Thanks, we're aware and investigating: http://issues.umbraco.org/issue/U4-7950
An updated, a fixed dll is now available on that issue ( http://issues.umbraco.org/issue/U4-7950 ) which can be used until 7.4.1 is out.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.