-
Bug
-
Resolution: Fixed
-
P3
-
8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8048437 | 8u25 | Vincent Ryan | P3 | Resolved | Fixed | b05 |
JDK-8047234 | 8u20 | Vincent Ryan | P3 | Resolved | Fixed | b20 |
JDK-8053694 | emb-8u26 | Vincent Ryan | P3 | Resolved | Fixed | b17 |
PKCS11 tests that use the Network Security Services (NSS) available in our PKCS11 test suite sometimes fail on Windows. The error reported is a Windows side-by-side configuration problem:
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:409)
at PKCS11Test.getSunPKCS11(PKCS11Test.java:72)
at PKCS11Test.testNSS(PKCS11Test.java:358)
at PKCS11Test.main(PKCS11Test.java:91)
at TestRSACipher.main(TestRSACipher.java:124)
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:484)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
at java.lang.Thread.run(Thread.java:744)
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 application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
C:\\jprt\\T\\P1\\004306.ssteuck\\s\\jdk\\test\\sun\\security\\pkcs11\\nss\\lib\\windows-amd64\\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
The fix for this issue is to update the NSS libraries bundled with our PKCS11 test suite. NSS 3.16 will be built on Windows using VS2010 and will replace the existing NSS DLLs.
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:409)
at PKCS11Test.getSunPKCS11(PKCS11Test.java:72)
at PKCS11Test.testNSS(PKCS11Test.java:358)
at PKCS11Test.main(PKCS11Test.java:91)
at TestRSACipher.main(TestRSACipher.java:124)
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:484)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
at java.lang.Thread.run(Thread.java:744)
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 application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
C:\\jprt\\T\\P1\\004306.ssteuck\\s\\jdk\\test\\sun\\security\\pkcs11\\nss\\lib\\windows-amd64\\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
The fix for this issue is to update the NSS libraries bundled with our PKCS11 test suite. NSS 3.16 will be built on Windows using VS2010 and will replace the existing NSS DLLs.
- backported by
-
JDK-8047234 PKCS11/NSS tests failing intermittently on Windows
-
- Resolved
-
-
JDK-8048437 PKCS11/NSS tests failing intermittently on Windows
-
- Resolved
-
-
JDK-8053694 PKCS11/NSS tests failing intermittently on Windows
-
- Resolved
-