APAR status
Closed as program error.
Error description
After upgrading to the IBM MQ v8.0.0.4 classes for Java, an application that uses the MQSimpleConnectionManager and creates BINDINGS transport mode connections to a queue manager receives a java.lang.NullPointerException. The Java call stack of the exception is below: java.lang.NullPointerException 	at com.ibm.mq.BindingsConnectionRequestInfo.fixedEquals(BindingsCon nectionRequestInfo.java:249) 	at com.ibm.mq.MQConnectionRequestInfo.equals(MQConnectionRequestInf o.java:191) 	at com.ibm.mq.ManagedConnectionStore$Tuple.equals(ManagedConnection Store.java:260) 	at java.util.Hashtable.get(Hashtable.java:529) 	at com.ibm.mq.ManagedConnectionStore.chooseOne(ManagedConnectionSto re.java:174) 	at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimple ConnectionManager.java:137) 	at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueu eManagerFactory.java:868) 	at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.j ava:816) 	at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueMa nagerFactory.java:758) 	at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManag erFactory.java:200) 	at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:885)
Local fix
Problem summary
**************************************************************** USERS AFFECTED: This issue affects users of the IBM MQ v8.0.0.4 classes for Java who have applications that use the MQSimpleConnectionManager for connection pooling of BINDINGS transport mode connections to a queue manager. Platforms affected: MultiPlatform **************************************************************** PROBLEM DESCRIPTION: When an IBM MQ v8.0.0.4 classes for Java application instantiates a new MQQueueManager object, specifying an MQSimpleConnectionManager object as an argument to the MQQueueManager constructor, free connections in the pool are evaluated to see if they are eligible for reuse. If a suitable connection is found, it is associated with the new MQQueueManager object and marked as being in use. If a BINDINGS transport mode connection existed in the pool and was available for reuse, the check to verify whether the connection would satisfy the request for the new MQQueueManager object resulted in an uncaught java.lang.NullPointerException being thrown to the application from the internal method: com.ibm.mq.BindingsConnectionRequestInfo.fixedEquals(Object)
Problem conclusion
The IBM MQ classes for Java have been updated such that a java.lang.NullPointerException is not thrown from the internal com.ibm.mq.BindingsConnectionRequestInfo.fixedEquals(...) method when performing an object equality test. For more information about this APAR, please see the following video : https://www.youtube.com/watch?v=-2XPHCIExnc --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v8.0 8.0.0.5 The latest available maintenance can be obtained from 'WebSphere MQ Recommended Fixes' http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037 If the maintenance level is not yet available information on its planned availability can be found in 'WebSphere MQ Planned Maintenance Release Dates' http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309 ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT12884
Reported component name
WMQ BASE MULTIP
Reported component ID
5724H7251
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-12-21
Closed date
2016-01-12
Last modified date
2016-04-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
WMQ BASE MULTIP
Fixed component ID
5724H7251
Applicable component levels
R800 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 April 2016