Copied to clipboard

Flag this post as spam?

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


  • Ilias Petsinas 2 posts 72 karma points
    Feb 15, 2016 @ 09:34
    Ilias Petsinas
    0

    Problem with Umbraco.UmbracoContext.PublishedContentRequest.DomainUri.AbsolutePath

    Hello ,

    I have a site that works perfctly until for some reason unknown to me I get an the following error

    System.NullReferenceException: Object reference not set to an instance of an object.

    On the following line ,

    hostName = Umbraco.UmbracoContext.PublishedContentRequest.DomainUri.AbsolutePath;

    What could cause this ? Once it happens it needs an app pool recycle to get fixed . Has anyone encountered this before ?

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Feb 15, 2016 @ 10:05
    Sebastiaan Janssen
    0

    I think you're running into this problem: http://issues.umbraco.org/issue/U4-7950

    There's an updated umbraco.dll in that issue that you can try to use until 7.4.1 is out.

  • Ilias Petsinas 2 posts 72 karma points
    Feb 15, 2016 @ 10:44
    Ilias Petsinas
    0

    I am using Umbraco version 7.3.1 assembly: 1.0.5780.28249 and not sure it is the same thing . But thanks anyway , I will keep in mind when I update umbraco.

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Feb 15, 2016 @ 11:18
    Sebastiaan Janssen
    0

    Ah, I think that problem you're having in 7.3.1 is actually fixed in 7.3.7 so an upgrade should fix it.

  • 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.

Please Sign in or register to post replies