tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60488] New: NPE in Request.parseCookies()
Date Fri, 16 Dec 2016 13:48:42 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60488

            Bug ID: 60488
           Summary: NPE in Request.parseCookies()
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: apache@ben.eflow.org
  Target Milestone: -----

After upgrading to 8.5.9 we have a number of failing tests with this
stacktrace:

java.lang.NullPointerException
        at
org.apache.catalina.connector.Request.parseCookies(Request.java:3056)
        at
org.apache.catalina.connector.Request.convertCookies(Request.java:3076)
        at org.apache.catalina.connector.Request.addCookie(Request.java:1733)

The request is minimally populated so there are no cookies on it, however, the
parseCookies method should not fail.  This was broken by rev 1766675 on Oct 26
2016.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message