PQ84534: NULLPOINTEREXCEPTION DURING MDB PROCESSING IN CONNECTION BROWSERWITH MQ ERROR CODE 2026 CAUSES MDB MESSAGE PROCESSING TO STOP. | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description During browsing messages in the connection browser in order for it to be processed by the Websphere application servant due to certain timing issues the message is browsed twice. When it is browsedthe second time since the processing already completed the first time the message reference points to null because the actual message has been removed at this point. This causes the NullPointerException. . Symptoms of this in the controller job output, . Trace: 2003/12/17 23:14:03.200 01 t=79E068 c=UNK key=P2 (13007002) FunctionName: JMS_WASTraceAdapter SourceId: JMS_WASTraceAdapter Category: DEBUG ExtendedMessage: getMsg2NoExc returning RC=2026 . Trace: 2003/12/17 23:14:03.240 01 t=79E068 c=UNK key=P2 FunctionName: makeSuitableForDelivery passing on SourceId: JMS_WASTraceAdapter Category: EVENT ExtendedMessage: The following exception was logged; com.ibm.mq.MQException: Completion Code 2, Reason 2026 .at com.ibm.mq.jms.MQQueueAgentThread1Impl.makeSuitableForDelivery .at com.ibm.mq.jms.MQQueueAgentThread1Impl.browse .at com.ibm.mq.jms.MQQueueAgentThread.run .at java.lang.Thread.run . Along with . BBOO0220E CNTR0020E: Non-application exception occurred while processing method "onMessage" on bean "BeanId(GTSEar#GTSEJB. jar#MsgGTSMessagingMDB, null)". Exception data: java.lang.reflect.InvocationTargetException: java.lang.NullPointerException . MD18848Local fix A jar file may be obtained from WebSphere Level 2 for temporary relief once it is verified that this is indeed the problem.Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V5.0 for z/OS * **************************************************************** * PROBLEM DESCRIPTION: For an MQ JMS message in a destination, * * the message is browsed multiple times * * causing the same message to be * * requested for delivery multiple times * * from the Servant Region. A * * NullPointerException is thrown when an * * attempt to get the message is done * * after the message is already delivered * * to the MDB and acknowledged. * **************************************************************** * RECOMMENDATION: * **************************************************************** An MQ JMS message is browsed multiple times. This causes a NullPointerException to be thrown when an attempt to get the message is done after the message is already acknowledged. The error shows with the following message, ExtendedMessage: Exception {0} getting JMS Message property JMSXDeliveryCount; java.lang.NullPointerExceptionProblem conclusion Ignore a null message since it is the result of a duplicate message reference handed by the MQ Agent. Any other exception shows as a JMSException or one of its subclasses. APAR PQ84534 is associated with SERVICE LEVEL W502003 of WebSphere Application Server V5.0 for z/OS.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Document Information |
Current web document: swg1PQ84534.html
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ84534
IBM Group: Software Group
Modified date: Apr 3, 2004
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.