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

sun/security/ssl/AppInputStream/ReadHandshake.java fails with NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • None
    • 23
    • security-libs

    Description



      ----------messages:(6/239)----------
      command: main ReadHandshake
      reason: User specified action: run main/othervm ReadHandshake
      started: Tue Apr 09 18:10:53 UTC 2024
      Mode: othervm [/othervm specified]
      finished: Tue Apr 09 18:10:54 UTC 2024
      elapsed time (seconds): 0.746
      ----------configuration:(0/0)----------
      ----------System.out:(6/206)----------
      Server waiting for connection
      Server starting handshake...
      Handshake failed on server side, OK
      Exception for read() on server, OK
      Exception for read() on server, OK
      Exception for read() on server, OK
      ----------System.err:(9/565)----------
      Client died...
      java.lang.NullPointerException: Cannot invoke "javax.net.ssl.SSLSocket.close()" because "<local1>" is null
      at ReadHandshake.doClientSide(ReadHandshake.java:210)
      at ReadHandshake$2.run(ReadHandshake.java:302)

      JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot invoke "javax.net.ssl.SSLSocket.close()" because "<local1>" is null
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot invoke "javax.net.ssl.SSLSocket.close()" because "<local1>" is null

      Attachments

        Activity

          People

            ssahoo Sibabrata Sahoo
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: