https://linen.dev logo
#help
Title
# help
l

Lorenzo Motti

05/19/2023, 1:32 PM
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

Kapish Malik

05/19/2023, 1:48 PM
@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

Lorenzo Motti

05/19/2023, 1:50 PM
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

Oleg Nenashev

05/19/2023, 2:34 PM
Which version is used though?
👍 1
k

Kapish Malik

05/19/2023, 2:37 PM
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

Lorenzo Motti

05/22/2023, 2:17 PM
the version is 2.11.0
o

Oleg Nenashev

05/22/2023, 2:23 PM
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