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
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 ?
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.
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.
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.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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 ?
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.
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.
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.
is working on a reply...