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

NullReferenceException during server shutdown #1188

Closed
halter73 opened this issue Nov 1, 2016 · 0 comments
Closed

NullReferenceException during server shutdown #1188

halter73 opened this issue Nov 1, 2016 · 0 comments
Assignees
Milestone

Comments

@halter73
Copy link
Member

halter73 commented Nov 1, 2016

Application is shutting down...
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Connection processing ended abnormally
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Frame.StopStreams() in C:\Users\shalter\KestrelHttpServer\src\Microsoft.AspNetCore.Server.Kestrel\Internal\Http\Frame.cs:line 311
   at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Frame`1.<RequestProcessingAsync>d__2.MoveNext() in C:\Users\shalter\KestrelHttpServer\src\Microsoft.AspNetCore.Server.Kestrel\Internal\Http\FrameOfT.cs:line 165

It looks like this can happen if the server is being shutdown before the first request is even being processed.

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

No branches or pull requests

1 participant