You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/07/22 15:33:53 UTC

[Bug 55291] New: Bug in WsServerContainer leading to NPE

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: rstoyanchev@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55291] Bug in WsServerContainer leading to NPE

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55291

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Violeta Georgieva <vi...@apache.org> ---
Thanks for the report and the patch. Fix is applied in trunk.

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


[Bug 55291] Bug in WsServerContainer leading to NPE

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55291

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30612|0                           |1
           is 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