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

IllegalArgumentException: jdk.tls.namedGroups

    Details

    • Subcomponent:
    • Resolved In Build:
      b157
    • Verification:
      Verified

      Backports

        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

          Issue Links

            Activity

            Hide
            coffeys Sean Coffey added a comment -
            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.
            Show
            coffeys Sean Coffey added a comment - 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.
            Hide
            coffeys Sean Coffey added a comment -
            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
            Show
            coffeys Sean Coffey added a comment - 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
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/04c3f5221759
            User: coffeys
            Date: 2017-02-08 08:43:58 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/04c3f5221759 User: coffeys Date: 2017-02-08 08:43:58 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/04c3f5221759
            User: lana
            Date: 2017-02-15 20:09:52 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/04c3f5221759 User: lana Date: 2017-02-15 20:09:52 +0000

              People

              • Assignee:
                coffeys Sean Coffey
                Reporter:
                shadowbug Shadow Bug
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: