Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   HynneCO.BestWestern.Offers.BusinessObjects.OfferUrlProvider.ShouldUrlBeRedirectedFromOldUrl(String requestedPath) +186
   HynneCO.BestWestern.Offers.Web.ErbjudandeUrlRewriter.LoadPhysicalUrl(String reservedWord, HttpApplication app) +60

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   HynneCo.ManageBase.Api.UrlReservedWords.UrlReservedWordUrlHandler.LoadReservedWordUrl(String reservedWord, HttpApplication app) in C:\Hynne\git\managebase\HynneCO.ManageBase\HynneCO.ManageBase.Api\UrlReservedWordHandler\UrlReservedWordUrlHandler.vb:48
   HynneCo.ManageBase.Api.HttpModules.HierarchicalUrlHandler.RedirectToReservedWordUrl(HttpApplication application) in C:\Hynne\git\managebase\HynneCO.ManageBase\HynneCO.ManageBase.Api\HttpModules\HierarchicalUrlHandler.vb:362
   HynneCo.ManageBase.Api.HttpModules.HierarchicalUrlHandler.HandleUrl(Object source, EventArgs e) in C:\Hynne\git\managebase\HynneCO.ManageBase\HynneCO.ManageBase.Api\HttpModules\HierarchicalUrlHandler.vb:211
   HynneCo.ManageBase.Api.HttpModules.UrlRewriteHttpModule.Application_BeginRequest(Object source, EventArgs e) in C:\Hynne\git\managebase\HynneCO.ManageBase\HynneCO.ManageBase.Api\HttpModules\UrlRewriteHttpModule.vb:140
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0