https://bz.apache.org/bugzilla/show_bug.cgi?id=60254

            Bug ID: 60254
           Summary: NullPointerException in
                    org.apache.catalina.core.ApplicationFilterChain
           Product: Tomcat 8
           Version: 8.0.37
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jens.borgl...@gmail.com

Unfortunately I don't have any actual repro steps for this issue but in our
test environment we've seen NullPointerExceptions like the one shown below, and
we've also from our logs concluded that calls to
HttpServletRequest.getServletPath() at the same time returned null (which
according to the Javadoc should never happen as far as I understand).

The issue is not easily reproducible - we've just seen it a few times in our
load tests so I speculate that it may be due to some kind of race condition.

java.lang.NullPointerException
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at com.REDACTED.SecurityFilter.processRequest(SecurityFilter.java:335)
    at com.REDACTED.SecurityFilter.doFilter(SecurityFilter.java:176)
    at com.REDACTED.AbstractFilter.doFilter(AbstractFilter.java:125)
    at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

We're using Spring 4.3.3 if that's relevant (which I doubt it is). We've
recently upgraded from Tomcat 8.0.33 to 8.0.37 and we didn't see the issue
before (but given that the issue isn't easily reproduced that may of course
just have been luck).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to