On 17.07.2017 12:29, Konstantin Kolinko wrote:
-2017-07-17 11:59 GMT+03:00 Matthias Keller <matthias.kel...@ergon.ch>:
Hi

In our production environment we (sometimes but still often enough) have the
problem, that we get an NPE deep within the Response object.

This occurs under 8.5.13 and 8.5.16.

The stacktrace (from 8.5.13) is as follows:

org.apache.catalina.connector.Response.generateCookieString(Response.java:999)
org.apache.catalina.connector.Response.addCookie(Response.java:947)
org.apache.catalina.connector.ResponseFacade.addCookie(ResponseFacade.java:386)
javax.servlet.http.HttpServletResponseWrapper.addCookie(HttpServletResponseWrapper.java:58)
javax.servlet.http.HttpServletResponseWrapper.addCookie(HttpServletResponseWrapper.java:58)
javax.servlet.http.HttpServletResponseWrapper.addCookie(HttpServletResponseWrapper.java:58)
Setting the following system property should make such application
errors more visible:
org.apache.catalina.connector.RECYCLE_FACADES=true
Hi Konstantin
Thanks a lot for that hint. That led me pretty quickly to the culprit which was indeed a field still holding a previous response...!

Thanks also to Mark Thomas for his tips
Matt

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to