Mr Brock,

We are getting the same error. Have you forgotten something from 2 years ago?


quote ...

Category: JBossMQ
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Elias Ross (genman)
>Assigned to: Elias Ross (genman)
Summary: NullPointerException in DLQHandler

Initial Comment:

Stack trace:

2003-10-07 14:17:19,845 ERROR [JMSContainerInvoker]
(Thread Pool Worker-9921)  Exception in JMSCI message
listener
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:386)
org.jboss.ejb.plugins.jms.DLQHandler.makeWritable(DLQHandler.java:288)
org.jboss.ejb.plugins.jms.DLQHandler.sendMessage(DLQHandler.java:239)
org.jboss.ejb.plugins.jms.DLQHandler.handleRedeliveredMessage(DLQHandler.java:213)
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1039)
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)
org.jboss.mq.SpySession.run(SpySession.java:298)
org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732)
        at java.lang.Thread.run(Thread.java:536)

(Hashtable does not allow null values, which seems to
be the cause of this exception.  HashMap could be used
instead.)

Probably there is either a null message property
(SpyMessage does not check for null String values) or
some sort of race condition as I haven't seen this
exception before...



----------------------------------------------------------------------

>Comment By: Elias Ross (genman)
Date: 2003-10-07 14:32

Message:
Logged In: YES 
user_id=556458


I'll fix it -- I still seem to have CVS write access.



----------------------------------------------------------------------

Comment By: Adrian Brock (ejort)
Date: 2003-10-07 12:14

Message:
Logged In: YES 
user_id=9459

Nulls are allowed according to the spec (String and Object
properties)
Elias you have cvs write? 
A HashMap for the temporary copy
sounds like correct the solution.
Can you fix it for 3.2.2 release, i.e. before the weekend?
If not, I'll do it. Don't forget jboss-head

Regards,
Adrian
... unquote

Neil Belford

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872991#3872991

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872991


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to