[ mx4j-Bugs-852560 ] NullPointerException with MLets with no name attribute
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #852560, was opened at 2003-12-02 12:52
Message generated for change (Comment added) made by biorn_steedom
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=852560&group_id=47745
>Category: JMX implementation
>Group: Release 2.0.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Kevin Curley (kcurley)
>Assigned to: Simone Bordet (biorn_steedom)
Summary: NullPointerException with MLets with no name attribute
Initial Comment:
If I have an MLet with no name attribute (names are
optional in mlet), I get a NullPointerException.
The StackTrace is as follows
java.lang.NullPointerException
at
javax.management.loading.MLet.handleCheck(MLet.java:371)
at
javax.management.loading.MLet.parseMLetFile(MLet.java:341)
at
javax.management.loading.MLet.getMBeansFromURL(MLet.java:319)
at
javax.management.loading.MLet.getMBeansFromURL(MLet.java:281)
An example of this is (taken from the Jetty Servlet Engine)
<MLET
CODE="org.mortbay.util.jmx.CodeMBean"
ARCHIVE="org.mortbay.jetty.jmx.jar"
CODEBASE="file:__JETTY_JMX_HOME__/lib">
</MLET>
Thanks,
Kevin
----------------------------------------------------------------------
>Comment By: Simone Bordet (biorn_steedom)
Date: 2003-12-02 20:26
Message:
Logged In: YES
user_id=128193
Fixed in CVS, and a test added to the suite.
You can try it using the nightly CVS code from
http://mx4j.sf.net/mx4j.tar.gz.
Will be in the next release.
Thanks !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=852560&group_id=47745
-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8