JDK-8173783 : IllegalArgumentException: jdk.tls.namedGroups
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 6u141,7u131,8u121,9
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-02-01
  • Updated: 2024-03-08
  • Resolved: 2017-02-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 6 JDK 7 JDK 8 JDK 9 Other
10Fixed 6u141Fixed 7u141Fixed 8u121Fixed 9 b157Fixed openjdk7uFixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Sub Tasks
JDK-8174212 :  
Description
TLS handshake error : 

<01-02-2017 08:41:28 CET> <Error> <Socket> <BEA-000421> <Uncaught Throwable in processSockets
 java.lang.ExceptionInInitializerError.^M
java.lang.ExceptionInInitializerError^M
        at com.sun.net.ssl.internal.ssl.HelloExtensions.<init>(HelloExtensions.java:73)^M
        at com.sun.net.ssl.internal.ssl.HandshakeMessage$ClientHello.<init>(HandshakeMessage.java:223)^M
        at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:204)^M
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:945)^M
        at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:885)^M
        Truncated. see log file for complete stacktrace^M
Caused By: java.lang.IllegalArgumentException: System property jdk.tls.namedGroups(null) contains no supported elliptic curves^M
        at com.sun.net.ssl.internal.ssl.SupportedEllipticCurvesExtension.<clinit>(HelloExtensions.java:567)^M
        at com.sun.net.ssl.internal.ssl.HelloExtensions.<init>(HelloExtensions.java:73)^M
        at com.sun.net.ssl.internal.ssl.HandshakeMessage$ClientHello.<init>(HandshakeMessage.java:223)^M
        at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:204)^M
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:946)^M
        Truncated. see log file for complete stacktrace^M
> ^M
Using SSLEngineImpl.^M

Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/04c3f5221759 User: lana Date: 2017-02-15 20:09:52 +0000
15-02-2017

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/04c3f5221759 User: coffeys Date: 2017-02-08 08:43:58 +0000
08-02-2017

To reproduce : e.g. <JDK_HOME>/bin/javac EchoServer.java <JDK_HOME>/bin/java -Djavax.net.debug=ssl EchoServer This leaves server listening on port 9999 from another server or terminal, you can use a simple client to connect : openssl s_client -tls1_1 -connect myserver:9999 -showcerts
03-02-2017

soon after in log, I see : <01-02-2017 08:41:28 CET> <Error> <Socket> <BEA-000421> <Uncaught Throwable in processSockets java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/SupportedEllipticCurvesExtension.^M java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/SupportedEllipticCurvesExtension^M at com.sun.net.ssl.internal.ssl.HelloExtensions.<init>(HelloExtensions.java:73)^M at com.sun.net.ssl.internal.ssl.HandshakeMessage$ClientHello.<init>(HandshakeMessage.java:223)^M at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:204)^M at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:945)^M at com.sun.net.ssl.internal.ssl.Handshaker$1.run(Handshaker.java:885)^M Truncated. see log file for complete stacktrace^M > ^M This is a 6u141 JRockit binary - I need to check if the structure is correct.
01-02-2017