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

Cassette breaks Nancyfx diagnostic settings page. #452

Open
donnyv opened this issue Jul 2, 2014 · 0 comments
Open

Cassette breaks Nancyfx diagnostic settings page. #452

donnyv opened this issue Jul 2, 2014 · 0 comments

Comments

@donnyv
Copy link

donnyv commented Jul 2, 2014

When I try to run Nancyfx diagnostic settings page, I get this stack trace.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.]
Cassette.Nancy.NancyContextLifetimeProvider.GetObject() +36
Cassette.TinyIoC.CustomObjectLifetimeFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) +104
Cassette.TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) +173

[TinyIoCResolutionException: Unable to resolve type: Cassette.PlaceholderTracker]
Cassette.TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) +1419
Cassette.TinyIoC.TinyIoCContainer.Resolve() +120
Cassette.HostBase.b__25(TinyIoCContainer c, NamedParameterOverloads p) +49
Cassette.TinyIoC.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) +64

[TinyIoCResolutionException: Unable to resolve type: Cassette.IPlaceholderTracker]
Cassette.TinyIoC.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) +150
Cassette.TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) +1296
Cassette.TinyIoC.TinyIoCContainer.Resolve() +120
Cassette.Nancy.<>c__DisplayClass1.b__0(Stream stream) +41
Nancy.Hosting.Aspnet.NancyHandler.EndProcessRequest(Task`1 task) +255
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +282
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +630
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

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