This content has been marked as final.
Show 2 replies
-
1. Re: what is a problem with preRegister ()?
adrian.brock Apr 3, 2003 1:15 PM (in response to arabinow)The formatting of the exception
stack trace isn't very good :-(
you throw a NullPointerException somewhere
in preRegister()
add
try
{
...
}
catch (MBeanRegistrationException e)
{
e.getTargetException().printStackTrace()
}
Regards,
Adrian -
2. Re: what is a problem with preRegister ()?
ejain Apr 15, 2003 6:57 PM (in response to arabinow)Override preRegister in your xmbean, and have it simply return null. This solved the problem for me, at least.