(spec) Unspecified NullPointerException in SSLSessionContext.getSession

XMLWordPrintable

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

      ======================================================================

            Assignee:
            Xuelei Fan
            Reporter:
            Kuz Kuz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: