Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

NullReference exception while shutting down Kestrel based application #24

Closed
Praburaj opened this issue Jul 22, 2014 · 3 comments
Closed
Labels

Comments

@Praburaj
Copy link
Contributor

I have seen this several times now on shutting down an application using Kestrel.

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
   at Microsoft.AspNet.Server.Kestrel.Networking.UvHandle.ReleaseHandle()
   at System.Runtime.InteropServices.SafeHandle.InternalFinalize()
   at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
   at System.Runtime.InteropServices.SafeHandle.Finalize()

Launch the app, make a few requests to the server and after a while stop the app by pressing enter in the command prompt.

@Praburaj Praburaj added the bug label Jul 22, 2014
@akoeplinger
Copy link

Seems to be a duplicate of / related to #9.

@kanchanm
Copy link

Note, I can consistently repro this if I don't close the browser before stopping the application.

@davidfowl
Copy link
Member

Dupe of #9

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

No branches or pull requests

4 participants