[ patch mx4j-bugs 852560] NullPointerException with MLets with no name attribute

Kevin Curley <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Hi,

I raised the bug 852560. I dont know how to submit proposed fixed but
below is mine.It is the CVS diff of my fix.

Thanks,
Kevin


RCS file:
/cvsroot/mx4j/mx4j/src/core/javax/management/loading/MLet.java,v
retrieving revision 1.21
diff -r1.21 MLet.java
371c371,372
<       map.put("name", tag.getObjectName().getCanonicalName());
---
>       String name = tag.getObjectName() == null ? null :
tag.getObjectName().getCanonicalName();
>       map.put("name", name);



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.