[NullReferenceException: Object reference not set to an instance of an object.]
Web.Template.Application.Repositories.PageRepository.GetOverridePages(ISite site, String path) in C:\Users\js\Documents\dev\webcodemain\web.template.application\web.template.application\Repositories\PageRepository.cs:191
Web.Template.Application.Repositories.PageRepository..ctor(IEntityPageConfiguration entityPageConfiguration, ISiteService siteService) in C:\Users\js\Documents\dev\webcodemain\web.template.application\web.template.application\Repositories\PageRepository.cs:68
lambda_method(Closure , Object[] ) +137
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +256
[DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Web.Template.Application.Interfaces.PageDefinition.IEntityPageConfiguration, Web.Template.Application.Interfaces.Services.ISiteService)' on type 'PageRepository'.]
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +791
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) +162
[DependencyResolutionException: An exception was thrown while activating Web.Template.Controllers.PageBuilderController -> Web.Template.Application.Services.PageService -> Web.Template.Application.Repositories.PageRepository.]
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) +514
Autofac.Core.Resolving.InstanceLookup.Execute() +231
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +224
Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +134
Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +135
Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters) +70
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +64
[InvalidOperationException: An error occurred when trying to create a controller of type 'Web.Template.Controllers.PageBuilderController'. Make sure that the controller has a parameterless public constructor.]
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +245
System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +1586
System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +224
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +3054
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +2425
|