https://issues.apache.org/bugzilla/show_bug.cgi?id=55291

            Bug ID: 55291
           Summary: Bug in WsServerContainer leading to NPE
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: rstoyanc...@yahoo.com

Created attachment 30612
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30612&action=edit
Patch showing fix

The registerAuthenticatedSession method appears to have a bug. It looks like
it's trying to find Set<WsSession> or create it if it is null. But the null
check is against the input argument (wsSession) not against set of WsSession's.

See attached patch.

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