APAR status
Closed as program error.
Error description
Error Message: java.lang.NullPointerException . Stack Trace: java.lang.NullPointerException at javax.crypto.spec.IvParameterSpec.init(Unknown Source) at com.ibm.test.pkcs11.Utilities.PKCS11Util.generateIVSpec(PKCS11Ut il.java:4123) at com.ibm.test.pkcs11.Utilities.CipherUtil.verifyDoFinal(CipherUti l.java:713) at com.ibm.test.pkcs11.Cipher.TestCipherDESede_CBC_PADv2.testCipher DESede_CBC_PAD268(TestCipherDESede_CBC_PADv2.java:3693) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:90) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Fram eworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(Reflecti veCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(Framew orkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(Invo keMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at com.ibm.test.common.OSSpecificRunner.runChild(OSSpecificRunner.j ava:121) at com.ibm.test.common.OSSpecificRunner.runChild(OSSpecificRunner.j ava:58) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288 ) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBef ores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfte rs.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288 ) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBef ores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfte rs.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run (JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.lau nch(JUnitTestRunner.java:1182) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.mai n(JUnitTestRunner.java:1033) . Only occurs when trace is turned off in the IBMJCEHYBRID provider.
Local fix
The IBMJCEHYBRID provider can be removed from the list of security providers configured in either the $JAVA_HOME/lib/security/java.security file or within the application code.
Problem summary
The Cipher.doFinal operation may throw a NullPointerException in certain circumstances when trace is turned off in the the IBMJCEHYBRID provider.
Problem conclusion
An object that is set to null when IBMJCEHYBRID trace is turned off is no longer referenced. This should prevent the occurrence of the observed java.lang.NullPointerException. . This APAR will be fixed in the following Java Releases: 8 SR5 FP35 (8.0.5.35) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
PH09876
Reported component name
JAVA Z/OS 64
Reported component ID
620700104
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-03-18
Closed date
2019-03-29
Last modified date
2019-03-29
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":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"LOB16","label":"Mainframe HW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 August 2022