-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
NullReferenceException #565
Labels
Comments
Hello @CoderNate , Thanks for the information. However I think you mean that these line can fail: _options.Mappings.TryAdd(mapping.Guid, mapping);
// and
_mappingToFileSaver.SaveMappingToFile(mapping); Correct? |
Yes, that's right; my mistake. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WireMock.Net/src/WireMock.Net/Server/WireMockServer.Admin.cs
Line 264 in e8181e9
I get a NullReferenceException here when a request fails due to
mapping
being null. It looks like calling proxyHelper.SendAsync returns null for a mapping if the status code was not successful. The next if statement right below this also has the same issue.The text was updated successfully, but these errors were encountered: