Copied to clipboard

Flag this post as spam?

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


  • Gareth 1 post 71 karma points
    Oct 02, 2019 @ 05:40
    Gareth
    0

    Umbraco.Web/Mvc/ControllerExtensions.RenderViewResultAsString

    Hi,

    We have an Umbraco 8.1.5 web site that is occasionally crashing on random pages while trying to render any one of a number of different macros.

    The problem occurs in Umbraco.Web/Mvc/ControllerExtensions.RenderViewResultAsString, which contains this loop: -

                foreach (var v in viewResult.ViewEngineCollection)
                {
                    v.ReleaseView(controller.ControllerContext, viewResult.View);
                }
    

    For some reason, one of the instances of IViewEngine in this collection is NULL (and we have so far been unable to figure out why); this throws a null object reference exception.

    Has anyone seen anything like this before ?

Please Sign in or register to post replies

Write your reply to:

Draft