Hello, do you know when wiremock gives this partic...
# help
l
Hello, do you know when wiremock gives this particular error? <p>Problem accessing /documentsstoragews/DocumentsStorage_v1. Reason: <pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException at com.github.tomakehurst.wiremock.verification.diff.Diff.getLines(Diff.java:71) at com.github.tomakehurst.wiremock.verification.diff.PlainTextDiffRenderer.render(PlainTextDiffRenderer.java:32) at com.github.tomakehurst.wiremock.verification.notmatched.PlainTextStubNotMatchedRenderer.render(PlainTextStubNotMatchedRenderer.java:30) at com.github.tomakehurst.wiremock.verification.notmatched.NotMatchedRenderer.execute(NotMatchedRenderer.java:13) at com.github.tomakehurst.wiremock.http.AdminRequestHandler.handleRequest(AdminRequestHandler.java:75)
k
@Lorenzo Motti when are u exactly getting this? Can you share request and response so that I can test it out? Also let me know Wiremock version u r using.
l
for me is difficult because it's code of a private company. I just need some generic indications of when this error may happen
o
Which version is used though?
👍 1
k
It does not seem latest version. I tried to analyze stack trace.
Probably based on version, we can analyze stack trace in the code.
l
the version is 2.11.0
o
Updating to 2.35.0 is the next step then https://github.com/wiremock/wiremock/releases/tag/2.35.0
@Lorenzo Motti please let us know whether the update resolves the issue. If not, a new stacktrace will be appreciated