Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the error for glass 5.13 dependency resolution #18

Open
sunilsaher opened this issue Nov 16, 2018 · 0 comments
Open

Getting the error for glass 5.13 dependency resolution #18

sunilsaher opened this issue Nov 16, 2018 · 0 comments

Comments

@sunilsaher
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant