Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5053877

(spec) Unspecified NullPointerException in SSLSessionContext.getSession

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: