Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Scripting JSP 2.6.2
-
None
Description
When a JspServletWrapper is destroyed, it is possible that a request is still being served concurrently. This can lead to a NullPointerException if the internal field theServlet is already set to null by the time it's service() method is called.
To fix this, theServlet should be copied to a local field at the beginning of the JspServletWrapper#service() method.
Attachments
Issue Links
- links to