APAR status
Closed as program error.
Error description
When a message has blank or invalid PutDate/PutTime field, MQMessage.putDateTime will be null value. Then com.ibm.mq.headers.MQMD1.copyFrom is invoked with such a message, MQMD1.copyFrom() method throws NullPointerException. ----- java.lang.NullPointerException at com.ibm.mq.headers.MQMD1.copyFrom(MQMD1.java:1064) at com.ibm.mq.headers.MQMD.copyFrom(MQMD.java:410) -----
Local fix
Problem summary
**************************************************************** USERS AFFECTED: This issue affects users of the MQ classes for Java. Platforms affected: MultiPlatform **************************************************************** PROBLEM DESCRIPTION: An MQ classes for Java application calling the method "com.ibm.mq.headers.MQMD.copyFrom()" can cause a NullPointerException to be thrown: java.lang.NullPointerException 	at com.ibm.mq.headers.MQMD1.copyFrom(MQMD1.java:1064) 	at com.ibm.mq.headers.MQMD.copyFrom(MQMD.java:410) This is due to the MQMD object passed in having a null value for the putDateTime.
Problem conclusion
The "com.ibm.mq.headers.MQMD1.copyFrom()" method will no longer throw a NullPointerException. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v9.3 LTS 9.3.0.20 v9.4 LTS 9.4.0.0 The latest available maintenance can be obtained from 'IBM MQ Recommended Fixes' https://www.ibm.com/support/pages/recommended-fixes-ibm-mq If the maintenance level is not yet available information on its planned availability can be found in 'IBM MQ Planned Maintenance Release Dates' https://ibm.biz/mqplannedmaintenance ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT45740
Reported component name
MQ BASE V9.3
Reported component ID
5724H7291
Reported release
930
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-03-19
Closed date
2024-04-30
Last modified date
2024-05-14
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
MQ BASE V9.3
Fixed component ID
5724H7291
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"930","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Document Information
Modified date:
14 May 2024