mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
NullReferenceException #326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CoderNate on GitHub (Jan 24, 2021).
Originally assigned to: @StefH on GitHub.
e8181e9d53/src/WireMock.Net/Server/WireMockServer.Admin.cs (L264)I get a NullReferenceException here when a request fails due to
mappingbeing 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.@StefH commented on GitHub (Jan 24, 2021):
Hello @CoderNate ,
Thanks for the information.
However I think you mean that these line can fail:
Correct?
@CoderNate commented on GitHub (Jan 25, 2021):
Yes, that's right; my mistake. Thanks.
And hey cool project! Nice work!