ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Null Pointer Exception on onMessage()

Post new topic  Reply to topic
 Null Pointer Exception on onMessage() « View previous topic :: View next topic » 
Author Message
JacqMq
PostPosted: Thu Oct 20, 2005 9:30 pm    Post subject: Null Pointer Exception on onMessage() Reply with quote

Newbie

Joined: 20 Oct 2005
Posts: 1

Hi,


We had a MDB bean implements MessageDrivenBean & MessageListner. And it is deployed to WAS and used WebSphere MQ as JMS provider. The bean is able to process thousands/million of messages, however, we also got 'NULL POINTER EXCEPTION ERROR from onMessage(). And it looks like the MDB bean has received null message as well.

How would that be possible? Is there any bugs in the WebSphere MQ? Will that be some messages are too big and caused channel time out? How can I find and verify?

Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Oct 22, 2005 6:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

you might hit that scenario trying to access the body of a message that was built without a body/payload....
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Null Pointer Exception on onMessage()
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.