Server Error in '/' Application.

The document id cannot be null
Parameter name: id

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.ArgumentNullException: The document id cannot be null
Parameter name: id

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:


[ArgumentNullException: The document id cannot be null
Parameter name: id]
   Raven.Client.Document.DocumentSession.Load(String id) +670
   bhh.Utilities.RouteEngine.GetRouteData(HttpContextBase httpContext) in C:\BEATMAN\bhh\bhh\Utilities\RouteEngine.cs:27
   System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +231
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +73
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92


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