https://bz.apache.org/bugzilla/show_bug.cgi?id=62792
Bug ID: 62792
Summary: Race condition NullpointerException in
JspServletWrapper
Product: Tomcat 9
Version: 9.0.12
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
We do have the following NullPointerException in Tomcat 9.0.12 in production
mode, with checkinterval:
java.lang.NullPointerException
org.apache.jasper.JasperException: java.lang.NullPointerException
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:498)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:580)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:516)
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:868)
This issue seems to have been introduced by bug 62603, where getServlet can now
return null.
getReloadInternal seems to return false without theServlet being properly
initialized.
It seems it can occurs if firstTime is false, reload is true and
ctxt.getRuntimeContext().isCompileCheckInProgress() is true.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]