java.lang.RuntimeException

java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available

Samebug tips6

Switch to Oracle JDK from of OpenJDK

Upgrade to RESTHeart 0.10.1 or later.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web12565

  • java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
  • java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
  • java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
  • Stack trace

    • java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1429) at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:535) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:813) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) at org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:449) at org.apache.tomcat.util.net.SecureNioChannel.handshake(SecureNioChannel.java:227) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1387) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available at sun.security.util.ECUtil.getECParameters(ECUtil.java:100) at sun.security.util.ECUtil.getECParameterSpec(ECUtil.java:149) at sun.security.ssl.JsseJce.getECParameterSpec(JsseJce.java:385) at sun.security.ssl.SupportedEllipticCurvesExtension.toString(SupportedEllipticCurvesExtension.java:127) at sun.security.ssl.HelloExtensions.print(HelloExtensions.java:150) at sun.security.ssl.HandshakeMessage$ClientHello.print(HandshakeMessage.java:323) at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:340) at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:221) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) at sun.security.ssl.Handshaker$1.run(Handshaker.java:919) at sun.security.ssl.Handshaker$1.run(Handshaker.java:916) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369) at org.apache.tomcat.util.net.SecureNioChannel.tasks(SecureNioChannel.java:397) at org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:457) ... 7 more Caused by: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.security.Security.getImpl(Security.java:695) at java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:146) at sun.security.util.ECUtil.getECParameters(ECUtil.java:98) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 3 months ago
    Once, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    28 more bugmates