java.lang.RuntimeException

java.security.NoSuchProviderException: no such provider: SunEC

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web23

  • via Unknown by Webbug Group,
  • via Unknown by Webbug Group,
  • via Stack Overflow by Hardik Lotiya
    ,
  • Stack trace

    • java.lang.RuntimeException: java.security.NoSuchProviderException: no such provider: SunEC at sun.security.util.ECUtil.getKeyFactory(ECUtil.java:96) at sun.security.util.ECUtil.decodeX509ECPublicKey(ECUtil.java:102) at sun.security.pkcs11.P11ECKeyFactory.engineGeneratePublic(P11ECKeyFactory.java:170) at java.security.KeyFactory.generatePublic(KeyFactory.java:334) at sun.security.x509.X509Key.buildX509Key(X509Key.java:223) at sun.security.x509.X509Key.parse(X509Key.java:170) at sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:75) at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:667) at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:167) at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1806) at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:195) at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:99) at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339) at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:747) at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55) at java.security.KeyStore.load(KeyStore.java:1433) at TestKeyStoreFIPS.main(TestKeyStoreFIPS.java:46) Caused by: java.security.NoSuchProviderException: no such provider: SunEC at sun.security.jca.GetInstance.getService(GetInstance.java:83) at sun.security.jca.GetInstance.getInstance(GetInstance.java:206) at java.security.KeyFactory.getInstance(KeyFactory.java:211) at sun.security.util.ECUtil.getKeyFactory(ECUtil.java:94) ... 16 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

    Unknown visitor
    Unknown visitorOnce,
    brunosatrianibrunosatriani
    2 times, last one
    AkshayAkshay
    5 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,