-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0
-
Component/s: security-libs
-
beta
-
generic
-
generic
Name: bkR10012 Date: 05/27/2004
The description of the SSLSessionContext.getSession(byte[] sessionId)
method does not describe any exception. According the spec. getSession()
must return null if the specified session id does not refer to a valid
SSLSession.
But the implementation throws NullPointerException in case
SSLSessionContext.getSession(sessionId) is being called while
sessionId is null.
======================================================================
The description of the SSLSessionContext.getSession(byte[] sessionId)
method does not describe any exception. According the spec. getSession()
must return null if the specified session id does not refer to a valid
SSLSession.
But the implementation throws NullPointerException in case
SSLSessionContext.getSession(sessionId) is being called while
sessionId is null.
======================================================================