tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54781] New: NPE in WsServerContainer if there is no matching path
Date Mon, 01 Apr 2013 19:32:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54781

            Bug ID: 54781
           Summary: NPE in WsServerContainer if there is no matching path
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: rstoyanchev@yahoo.com
    Classification: Unclassified

Created attachment 30129
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30129&action=edit
A proposed fix

WsServerContainer.findMapping fails with a NullPointerException if there is no
matching WsMappingResult. Also WsFilter needs a conditional clause to let the
request through if there is no matching mapping.

Attached is a patch.

-- 
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