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
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.<>cDisplayClass1.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