-
Enhancement
-
Resolution: Fixed
-
P4
-
6
-
None
-
b43
-
generic
-
generic
If a DynamicMBean (including an instance of StandardMBean or a subclass) throws an exception from its getMBeanInfo() method, this causes registration of that DynamicMBean to fail with a NotCompliantMBeanException. The original exception is lost, except for its detail message. In particular you cannot see its stack trace or nested exception.
The specific unhelpful exception message was:
javax.management.NotCompliantMBeanException: Can't obtain MBeanInfo from
DynamicMBean: javax.management.RuntimeErrorException: Error thrown in
operation dottedNameGet
at
com.sun.jmx.mbeanserver.BaseMetaDataImpl.getMBeanClassName(BaseMetaDataImpl.java:163)
[...]
###@###.### 2005-06-07 10:36:13 GMT
The specific unhelpful exception message was:
javax.management.NotCompliantMBeanException: Can't obtain MBeanInfo from
DynamicMBean: javax.management.RuntimeErrorException: Error thrown in
operation dottedNameGet
at
com.sun.jmx.mbeanserver.BaseMetaDataImpl.getMBeanClassName(BaseMetaDataImpl.java:163)
[...]
###@###.### 2005-06-07 10:36:13 GMT