Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Sørensen 304 posts 650 karma points
    Feb 14, 2016 @ 14:05
    Paul Sørensen
    0

    Html.RenderPartial fails after upgrading to 7.4

    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

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 14, 2016 @ 16:02
    Sebastiaan Janssen
    0

    Thanks, we're aware and investigating: http://issues.umbraco.org/issue/U4-7950

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 15, 2016 @ 08:07
    Sebastiaan Janssen
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft