java.security.ProviderException: Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:381) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:112) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:109) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at sun.security.pkcs11.SunPKCS11.configure(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:109)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JDK Bug System by Felix Yang, 1 year ago
Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:381) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:112) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9
via JDK Bug System by Felix Yang, 1 year ago
Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:381) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:112) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9
via JDK Bug System by Xue-Lei Fan, 1 year ago
.run(jdk.crypto.pkcs11@9-internal/SunPKCS11.java:108) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at sun.security.pkcs11.SunPKCS11.configure(jdk.crypto.pkcs11@9-internal/SunPKCS11.java:108)
via JDK Bug System by Xue-Lei Fan, 1 year ago
.run(jdk.crypto.pkcs11@9-internal/SunPKCS11.java:108) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at sun.security.pkcs11.SunPKCS11.configure(jdk.crypto.pkcs11@9-internal/SunPKCS11.java:108)
java.security.ProviderException: Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:381) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:112) at sun.security.pkcs11.SunPKCS11$1.run(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:109) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at sun.security.pkcs11.SunPKCS11.configure(jdk.crypto.pkcs11@9-ea/SunPKCS11.java:109)
at undefined.PKCS11Test.getSunPKCS11(PKCS11Test.java:151)
at undefined.PKCS11Test.testNSS(PKCS11Test.java:518)
at undefined.PKCS11Test.main(PKCS11Test.java:203)
at undefined.UnsupportedDHKeys.main(UnsupportedDHKeys.java:84)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.