Full version info is "Sun Java System Application Server 9.1 (build b58g-fcs)",
i.e. the Glassfish bundled with NetBeans 6 dailies right now.
It seems this version of this method assumes that the incoming ObjectName is
non-null, while the Java API spec clearly states that it can be null. I leverage
null input in my registration callbacks to have the MBean compute its own
ObjectName – and this works in Sun Java Web Server 7, Tomcat 5 through 6, etc.
A patch would be very much appreciated as this completely prevents my web
application from loading.