[ArgumentNullException: Value cannot be null.
Parameter name: source]
System.Linq.Enumerable.Single(IEnumerable`1 source, Func`2 predicate) +374
Services.Travelhub.FlightBookingService..ctor(IPortalService portalService) in G:\Project\PortalHotelsOrg\Services\Travelhub\FlightBookingService.cs:23
lambda_method(Closure , IBuildSession , IContext ) +224
[StructureMapBuildException: Error while building type Services.Travelhub.FlightBookingService. See the inner exception for details
1.) new FlightBookingService(*Default of IPortalService*)
2.) Services.Travelhub.FlightBookingService
3.) Instance of Services.Travelhub.IFlightBookingService (Services.Travelhub.FlightBookingService)
4.) new FlightController(*Default of IFlightBookingService*, *Default of IPassengerService*, *Default of IPaymentService*, *Default of INotificationService*)
5.) Ui.Controllers.FlightController
6.) Instance of Ui.Controllers.FlightController
7.) Container.GetInstance(Ui.Controllers.FlightController)
]
lambda_method(Closure , IBuildSession , IContext ) +1261
StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context) in c:\BuildAgent\work\996e173a8ceccdca\src\StructureMap\Building\BuildPlan.cs:151
StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle) in c:\BuildAgent\work\996e173a8ceccdca\src\StructureMap\SessionCache.cs:88
StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph) in c:\BuildAgent\work\996e173a8ceccdca\src\StructureMap\SessionCache.cs:66
StructureMap.Container.GetInstance(Type pluginType) in c:\BuildAgent\work\996e173a8ceccdca\src\StructureMap\Container.cs:335
Ui.StructureMapControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) in G:\Project\PortalHotelsOrg\WhiteLabel\Global.asax.cs:30
System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +263
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1020
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128
|