Copied to clipboard

Flag this post as spam?

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


  • Remko 118 posts 283 karma points
    Aug 30, 2018 @ 06:50
    Remko
    0

    Null refererence exception on System.Web.HttpApplication.GetNotifcationContextProperties

    After updating our Umbraco 7.9 to 7.12.1 we get this exception after a few minutes:

    [NullReferenceException: Object reference not set to an instance of an object.] System.Web.HttpApplication.GetNotifcationContextProperties(Boolean& isReentry, Int32& eventCount) +112 System.Web.PipelineStepManager.ResumeSteps(Exception error) +251 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +120 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +217

    Don't know where to start with this.. what could it be? Can someone please help with this?

    Thanks!

  • Remko 118 posts 283 karma points
    Aug 31, 2018 @ 14:22
    Remko
    0

    Nobody ever got this exception?

    It's on a Windows 2012 R2 server. Think it's not especially related to upgrade of umbraco. Seems to have happened in previous version as well.

    We don't have any events attached. When I googled on the exception, only thing that came up were things having to do with events in eventhandler... Could it be there's something wrong with this in umbraco source?

  • Remko 118 posts 283 karma points
    Sep 06, 2018 @ 08:09
    Remko
    0

    For whoever who stumbles upon this issue and doesn't have a clue, just like me.. ;-)

    It was pretty easy in the end... We still had urlrewriting module in our site, while we weren't using it and already updated umbraco to the latest version.

    So we had to remove UrlRewritingNet.UrlRewriter.dll from bin folder and remove all lines that refer to UrlRewritingNet in web.config. That solved it for us, so no nasty exceptions anymore!

Please Sign in or register to post replies

Write your reply to:

Draft