APAR status
Closed as program error.
Error description
Error Message: Caused by: java.lang.SecurityException: JCE cannot authenticate the provider BC . Stack Trace: Caused by: java.lang.SecurityException: JCE cannot authenticate the provider BC at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java: 229) at java.base/javax.crypto.SecretKeyFactory.getInstance(SecretKeyFac tory.java:248) at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(St andardPBEByteEncryptor.java:733) ... 82 common frames omitted Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.String.equals(java.lang.Object)" because "moduleName" is null at java.base/javax.crypto.JceSecurity.verifyProvider(JceSecurity.ja va:294) at java.base/javax.crypto.JceSecurity$2.apply(JceSecurity.java:385) at java.base/javax.crypto.JceSecurity$2.apply(JceSecurity.java:374) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent (ConcurrentHashMap.java:1693) at java.base/javax.crypto.JceSecurity.getVerificationResult(JceSecu rity.java:374) at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java: 225) ... 84 common frames omitted . NA
Local fix
Problem summary
The security provider verification code examines the url of the entity being verified. In the jar embedded in an uber jar case, the url ends with ".jar!" rather than ".jar". The check for endsWith ".jar" was failing, allowing the code to drop into the module name check. As there is not module the returned module name is null, resulting in a NullPointerException.
Problem conclusion
Restructure the code to check for both ".jar" and ".jar!". . This APAR will be fixed in the following Releases: . IBM Semeru Runtimes 17 17.0.11.0 11 11.0.24.0 . Downloads and supplementary documentation can be found at the following locations: - For the z/OS operating system: - Java SDK Products on z/OS https://www.ibm.com/support/pages/java-sdk-products-zos
Temporary fix
Comments
APAR Information
APAR number
PH61948
Reported component name
JAVA Z/OS 64
Reported component ID
620700104
Reported release
H00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-06-19
Closed date
2024-06-21
Last modified date
2024-07-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA Z/OS 64
Fixed component ID
620700104
Applicable component levels
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"H00","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
04 July 2024