java.security.ProviderException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • com/sun/crypto/provider/KeyFactory/PBKDF2HmacSHA1FactoryTest.java ----------System.out:(6/114)---------- =>Testing vector#1 =>Testing vector#2 =>Testing vector#3 =>Testing vector#4 =>Testing vector#5 =>Testing vector#6 ----------System.err:(25/1771)---------- java.security.ProviderException: update() failed at sun.security.pkcs11.P11Mac.engineUpdate(jdk.crypto.pkcs11@9-ea/P11Mac.java:244) at javax.crypto.Mac.update(java.base@9-ea/Mac.java:493) at com.sun.crypto.provider.PBKDF2KeyImpl.deriveKey(java.base@9-ea/PBKDF2KeyImpl.java:179) at com.sun.crypto.provider.PBKDF2KeyImpl.<init>(java.base@9-ea/PBKDF2KeyImpl.java:122) at com.sun.crypto.provider.PBKDF2Core.engineGenerateSecret(java.base@9-ea/PBKDF2Core.java:69) at javax.crypto.SecretKeyFactory.generateSecret(java.base@9-ea/SecretKeyFactory.java:338) at PBKDF2HmacSHA1FactoryTest.test(PBKDF2HmacSHA1FactoryTest.java:77) at PBKDF2HmacSHA1FactoryTest.main(PBKDF2HmacSHA1FactoryTest.java:138) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_ACTIVE at sun.security.pkcs11.wrapper.PKCS11.C_SignInit(jdk.crypto.pkcs11@9-ea/Native Method) at sun.security.pkcs11.P11Mac.initialize(jdk.crypto.pkcs11@9-ea/P11Mac.java:170) at sun.security.pkcs11.P11Mac.ensureInitialized(jdk.crypto.pkcs11@9-ea/P11Mac.java:141) at sun.security.pkcs11.P11Mac.engineUpdate(jdk.crypto.pkcs11@9-ea/P11Mac.java:240) ... 13 more
    via by Rajan Halade,
    • java.security.ProviderException: update() failed at sun.security.pkcs11.P11Mac.engineUpdate(jdk.crypto.pkcs11@9-ea/P11Mac.java:244) at javax.crypto.Mac.update(java.base@9-ea/Mac.java:493) at com.sun.crypto.provider.PBKDF2KeyImpl.deriveKey(java.base@9-ea/PBKDF2KeyImpl.java:179) at com.sun.crypto.provider.PBKDF2KeyImpl.<init>(java.base@9-ea/PBKDF2KeyImpl.java:122) at com.sun.crypto.provider.PBKDF2Core.engineGenerateSecret(java.base@9-ea/PBKDF2Core.java:69) at javax.crypto.SecretKeyFactory.generateSecret(java.base@9-ea/SecretKeyFactory.java:338) at PBKDF2HmacSHA1FactoryTest.test(PBKDF2HmacSHA1FactoryTest.java:77) at PBKDF2HmacSHA1FactoryTest.main(PBKDF2HmacSHA1FactoryTest.java:138)
    No Bugmate found.