#146 null ObjectNames broken

v2.0
open
Rakesh Kalra
general (93)
5
2007-05-17
2007-05-17
Anonymous
No

I'm managing a dynamic MBean deployed in JBoss4 using jmanage 2.0RC1.

The bean has a RW ObjectName attribute on it, and currently the value is correctly set to null.

When jmanage displays this, it displays the word "null" in the editable text field. Any attempt to set any attribute on this mbean fails because it's then trying to set the ObjectName to "null".

If I delete the "null" from the text field and submit, the attribute gets set to "*:*" which is of course also a problem.

This is a serious issue because it makes any MBean with a null reference in it unmanageable (quite common in my particular project).

Discussion