A fix is available
APAR status
Closed as program error.
Error description
When attempting to decrypt a file that was encrypted in ascii armor, a nullpointer exception is thrown and command processing ends abnormally. ERROR ibm.IBMPGPOperations (Logger.java:52) error - [Tue, 19 Jun 2018 12:58:52] java.lang.NullPointerExcept ion at com.ibm.encryptionfacility.openpgp.facility.radix64.ASCIIArmorFa cility.fillDecodeTransferBuffer(ASCIIArmorFacility.java:1025) at com.ibm.encryptionfacility.openpgp.facility.radix64.ASCIIArmorFa cility.read(ASCIIArmorFacility.java:1111) at com.ibm.encryptionfacility.openpgp.facility.radix64.ASCIIArmorFa cility.peek(ASCIIArmorFacility.java:993) at com.ibm.encryptionfacility.openpgp.facility.io.IOFacility.peek(I OFacility.java:200) at com.ibm.encryptionfacility.openpgp.data.packet.factories.Standar dPacketHeaderFactory.peekNextHeader(StandardPacketHeaderFactory. java:143) at com.ibm.encryptionfacility.openpgp.data.packet.factories.Standar dPacketHeaderFactory.peekNextHeader(StandardPacketHeaderFactory. java:48) at com.ibm.encryptionfacility.openpgp.data.message.factory.OpenPGPM essageFactory.generateMessage(OpenPGPMessageFactory.java:145) at com.ibm.encryptionfacility.openpgp.ui.processors.DecryptCommandP rocessor.process(DecryptCommandProcessor.java:102) at com.ibm.encryptionfacility.EFOpenPGP.<init>(EFOpenPGP.java:130) at com.ibm.encryptionfacility.EFOpenPGP.main(EFOpenPGP.java:818) [code=001, type=SY, location=, application=OpenPGP, traceID=JTID390986620219891, spi=DS] 2121695376 [mq-listen] INFO ibm.IBMPGPOperations (Logger.java:42) info - [Tue, 19 Jun 2018 12:58:52] decrypt.sh ended with exit va lue 3[code=001, type=SY, location=, application=OpenPGP, traceID=JTID390986620219891, spi=DS] 2121695377 [mq-listen] INFO ibm.IBMPGPOperations (Logger.java:42) info - [Tue, 19 Jun 2018 12:58:52] Script decrypt.sh executed: E ncryption Facility output: CSD0050I Command processing ended abnormally: CSD0065I No error message available. Exception: java.lang.NullPointerException ** Note that PTF UA97313 for this APAR has been marked as PE. The fixing APAR is OA56871.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Encryption Facility users who inadvertently * * malform the end ASCII Armor header record * * of an ASCII Armor message. * **************************************************************** * PROBLEM DESCRIPTION: Incorrect output of * * NullPointerException instead of * * message CSD0806I. * **************************************************************** * RECOMMENDATION: * **************************************************************** During the processing of ASCII Armor, if a malformed end ASCII Armor header record was encountered Encryption Facility would incorrectly output a NullPointerException stack trace instead of outputting OpenPGP message CSD0806I.
Problem conclusion
Changed order of code logic to prevent NullPointerException from occurring and instead display OpenPGP message CSD0806I.
Temporary fix
Comments
×**** PE19/02/09 PTF IN ERROR. SEE APAR OA56871 FOR DESCRIPTION
APAR Information
APAR number
OA55933
Reported component name
ENCRYPTION FACI
Reported component ID
5752XXFIL
Reported release
740
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-07-25
Closed date
2018-09-06
Last modified date
2019-02-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UA97313
Modules/Macros
CSDENCRY
Fix information
Fixed component name
ENCRYPTION FACI
Fixed component ID
5752XXFIL
Applicable component levels
R740 PSY UA97313
UP18/09/07 P F809
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"740","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
15 February 2019