Try our conversational search powered by Generative AI!

NullReferenceException in UriSupport.AbsoluteUrlBySettings when no wildcard hostname

Found in

EPiServer.CMS.Core 7.0.586.0

Fixed in

EPiServer.CMS.Core 11.10.2

(Or a related package)

Created

Jul 06, 2018

Updated

Oct 15, 2018

Area

CMS Core

State

Closed, Fixed and tested


Description

When calling UriSupport.AbsoluteUrlBySettings within the context of a scheduled job, a NullReferenceException is thrown without a meaningful error message.

Workaround: Use UrlResolver when possible, or check that UrlSupport.SiteUrl has a value before calling the method.