Skip to content

Getting the error for glass 5.13 dependency resolution  #18

Description

@sunilsaher

Line 22: {
Line 23: var resolver = GlassMapperScCustom.CreateResolver();
Line 24: base.CreateResolver(resolver);
Line 25: return resolver;
Line 26: }

[NullReferenceException: Object reference not set to an instance of an object.]
Glass.Mapper.Sc.Pipelines.CreateResolver.CreateResolverPipeline.Run(CreateResolverPipelineArgs args) in C:\TeamCity\buildAgent\work\9693a2d38f55a4a\Source\Glass.Mapper.Sc\Pipelines\CreateResolver\CreateResolverPipeline.cs:15
Glass.Mapper.Sc.Pipelines.Initialize.GlassMapperSc.CreateResolver(IDependencyResolver resolver) in C:\TeamCity\buildAgent\work\9693a2d38f55a4a\Source\Glass.Mapper.Sc\Pipelines\Initialize\GlassMapperSc.cs:58
Mercer.Belong.Foundation.GlassORM.App_Start.GlassMapperSc.CreateResolver() in D:\BelongSitecore9\src\Foundation\GlassORM\Mercer.Belong.Foundation.GlassORM\App_Start\GlassMapperSc.cs:24
Glass.Mapper.Sc.Pipelines.Initialize.GlassMapperSc.Start(String contextName) in C:\TeamCity\buildAgent\work\9693a2d38f55a4a\Source\Glass.Mapper.Sc\Pipelines\Initialize\GlassMapperSc.cs:33
(Object , Object ) +13
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +483
Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +235
Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +21
Sitecore.Nexus.Web.HttpModule.Application_Start() +160
Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +766
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +580
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +167
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +276
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +368

[HttpException (0x80004005): Object reference not set to an instance of an object.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions