java.security.ProviderException: Initialization failed

oracle.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JEP 131: PKCS#11 Crypto Provider for 64-bit Windows (Sean Mullan's Blog)

    oracle.com | 7 months ago
    java.security.ProviderException: Initialization failed
  2. 0

    'Re: [8]: help on PKCS#11 tests build' - MARC

    marc.info | 1 year ago
    Impl.java: 57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor \ AccessorIm pl.java:45)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Using PKCS11 with NSS for Java encryption: java.security.ProviderException: Initialization failed

    programwith.com | 1 year ago
    java.security.ProviderException: Initialization failed
  5. 0

    There are 56 new failures failed in JDK9 b59 at windows platform(both 32 and 64 builds) with following error message: Beginning test run ReinitCipher... ----------System.err:(30/1796)*---------- java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:425) at PKCS11Test.getSunPKCS11(PKCS11Test.java:77) at PKCS11Test.testNSS(PKCS11Test.java:402) at PKCS11Test.main(PKCS11Test.java:96) at ReinitCipher.main(ReinitCipher.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:502) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218) at java.lang.Thread.run(Thread.java:745) Caused by: java.security.ProviderException: Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103) ... 14 more Caused by: java.io.IOException: The specified module could not be found. C:\\Users\\aurora\\sandbox\\testbase\\jdk\\test\\sun\\security\\pkcs11\\nss\\lib\\windows-i586\\softokn3.dll at sun.security.pkcs11.wrapper.PKCS11.connect(Native Method) at sun.security.pkcs11.wrapper.PKCS11.<init>(PKCS11.java:138) at sun.security.pkcs11.wrapper.PKCS11.getInstance(PKCS11.java:151) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:313) ... 15 more

    JDK Bug System | 2 years ago | Kevin Liu
    java.lang.reflect.InvocationTargetException

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.ProviderException

      Initialization failed

      at sun.security.pkcs11.SunPKCS11.<init>()
    2. sun.security.pkcs11
      SunPKCS11.<init>
      1. sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:376)
      2. sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
      2 frames
    3. scpoc
      SmartCard.main
      1. scpoc.SmartCard.main(SmartCard.java:28)
      1 frame