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

ECParameters, Point does not match field size

XMLWordPrintable

      Testing failure of sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSessionImpl/HashCodeMissing.java:

      javax.net.ssl.SSLException: java.lang.RuntimeException: Could not parse key values
      at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
      at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1925)
      at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1882)
      at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1865)
      at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1791)
      at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:128)
      at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:138)
      at HashCodeMissing.doClientSide(HashCodeMissing.java:135)
      at HashCodeMissing$2.run(HashCodeMissing.java:289)
      Caused by: java.lang.RuntimeException: Could not parse key values
      at sun.security.pkcs11.P11Key$P11ECPublicKey.fetchValues(P11Key.java:1055)
      at sun.security.pkcs11.P11Key$P11ECPublicKey.getW(P11Key.java:1076)
      at sun.security.ssl.ECDHClientKeyExchange.<init>(ECDHClientKeyExchange.java:58)
      at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:846)
      at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:283)
      at sun.security.ssl.Handshaker.processLoop(Handshaker.java:881)
      at sun.security.ssl.Handshaker.process_record(Handshaker.java:816)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1052)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1351)
      at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:720)
      at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
      ... 3 more
      Caused by: java.io.IOException: Point does not match field size
      at sun.security.ec.ECParameters.decodePoint(ECParameters.java:94)
      at sun.security.pkcs11.P11ECKeyFactory.decodePoint(P11ECKeyFactory.java:80)
      at sun.security.pkcs11.P11Key$P11ECPublicKey.fetchValues(P11Key.java:1051)
      ... 13 more

            vinnie Vincent Ryan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: