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

NPE in Krb5ProxyImpl.getServerKeys()

    Details

    • Subcomponent:
    • Introduced In Build:
      b140
    • Introduced In Version:
      7
    • Resolved In Build:
      b43
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        javax.net.ssl.SSLException: java.lang.NullPointerException
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1902)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1860)
        at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1843)
        at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1769)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:113)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:69)
        at RemovedPrivateKey$1.run(RemovedPrivateKey.java:203)
        Caused by: java.lang.NullPointerException
        at sun.security.ssl.krb5.Krb5ProxyImpl.getServerKeys(Krb5ProxyImpl.java:65)
        at sun.security.ssl.Krb5Helper.getServerKeys(Krb5Helper.java:99)
        at sun.security.ssl.ServerHandshaker$2.run(ServerHandshaker.java:1285)
        at sun.security.ssl.ServerHandshaker$2.run(ServerHandshaker.java:1282)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.security.ssl.ServerHandshaker.setupKerberosKeys(ServerHandshaker.java:1280)
        at sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:1117)
        at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:887)
        at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:620)
        at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:167)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1032)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1328)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:882)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
        ... 2 more
        javax.net.ssl.SSLException: Received fatal alert: internal_error
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
        at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1977)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1093)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1328)
        at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
        at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
        at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:136)
        at RemovedPrivateKey.doClient(RemovedPrivateKey.java:185)
        at RemovedPrivateKey.main(RemovedPrivateKey.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:722)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xuelei Xue-Lei Fan
                  Reporter:
                  xuelei Xue-Lei Fan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: