You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.AspNetCore.Mvc.Routing.ApiVersionMatcherPolicy.TrySelectApiVersion(HttpContext httpContext, CandidateSet candidates)
at Microsoft.AspNetCore.Mvc.Routing.ApiVersionMatcherPolicy.ApplyAsync(HttpContext httpContext, CandidateSet candidates)
at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.SelectEndpointWithPoliciesAsync(HttpContext httpContext, IEndpointSelectorPolicy[] policies, CandidateSet candidateSet)
at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
The text was updated successfully, but these errors were encountered:
This is a duplicate of #600. I have a large number of fixes in the works. The will be included in the next patch version. The fix is pretty straight forward - fortunately. Thanks.
This issue has now been fixed in 5.0.0-RC.1. The official release will likely occur after 2 weeks of burn-in. If that doesn't fix the issue, feel free to reopen this issue or open a new one. Thanks.
I've attached a test project:
https://github.com/alienwareone/DynamicEndpointRoutingApiVersioningBug
The text was updated successfully, but these errors were encountered: