java.lang.RuntimeException: java.security.NoSuchAlgorithmException: class configured for AlgorithmParameters (provider: SunEC) cannot be found.

Stack Overflow | fahad | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    wso2am-1.10.0: ERROR - NioEndpoint$SocketProcessor

    Stack Overflow | 6 months ago | fahad
    java.lang.RuntimeException: java.security.NoSuchAlgorithmException: class configured for AlgorithmParameters (provider: SunEC) cannot be found.
  2. 0

    Build fails on Open JDK 1.8

    GitHub | 2 years ago | aslakknutsen
    io.netty.handler.codec.DecoderException: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      sun.security.ec.ECParameters

      at java.net.URLClassLoader$1.run()
    2. Java RT
      ECUtil.getCurveName
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:372)
      2. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      3. java.security.AccessController.doPrivileged(Native Method)
      4. java.net.URLClassLoader.findClass(URLClassLoader.java:360)
      5. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      7. java.security.Provider$Service.getImplClass(Provider.java:1636)
      8. java.security.Provider$Service.newInstance(Provider.java:1592)
      9. sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
      10. sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
      11. java.security.Security.getImpl(Security.java:695)
      12. java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:146)
      13. sun.security.util.ECUtil.getECParameters(ECUtil.java:139)
      14. sun.security.util.ECUtil.getCurveName(ECUtil.java:214)
      14 frames
    3. Java JSSE
      Handshaker$1.run
      1. sun.security.ssl.JsseJce.getNamedCurveOid(JsseJce.java:389)
      2. sun.security.ssl.SupportedEllipticCurvesExtension.getCurveIndex(SupportedEllipticCurvesExtension.java:161)
      3. sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1011)
      4. sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:884)
      5. sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:213)
      6. sun.security.ssl.Handshaker.processLoop(Handshaker.java:936)
      7. sun.security.ssl.Handshaker$1.run(Handshaker.java:876)
      8. sun.security.ssl.Handshaker$1.run(Handshaker.java:873)
      8 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Java JSSE
      Handshaker$DelegatedTask.run
      1. sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1313)
      1 frame
    6. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.tomcat.util.net.SecureNioChannel.tasks(SecureNioChannel.java:285)
      2. org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:343)
      3. org.apache.tomcat.util.net.SecureNioChannel.handshake(SecureNioChannel.java:193)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1715)
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
      5 frames
    7. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    8. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame