Patches item #651437, was opened at 2002-12-10 15:14
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=651437&group_id=22866
Category: JBossServer
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ulf Schroeter (schrouf)
Assigned to: Nobody/Anonymous (nobody)
Summary: DLQHandler-Bug
Initial Comment:
org.jboss.ejb.plugins.jms.DLQHandler throws
NullPointerException in makeWritable() when copying
properties with value null ( caused by Hashmap.put() )
Patch: modify copy loop by replace null string with
empty "" string prior to Hashmap.put() call .
protected Message makeWritable(Message msg)
throws JMSException
{
Hashtable tmp = new Hashtable();
// Save properties
for(Enumeration en = msg.getPropertyNames
();en.hasMoreElements();)
{
String key = (String) en.nextElement();
/******* Patch ******
String value = msg.getStringProperty(key);
if( value == null )
value = "";
tmp.put(key,value);
}
......
......
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=651437&group_id=22866
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development