java.lang.IllegalArgumentException

javax.management.NotCompliantMBeanException: MBean class com.amazonaws.metrics.MetricAdmin does not implement DynamicMBean, and neither follows the Standard MBean conventions (javax.management.NotCompliantMBeanException: Class com.amazonaws.metrics.MetricAdmin is not a JMX compliant Standard MBean) nor the MXBean conventions (javax.management.NotCompliantMBeanException: com.amazonaws.metrics.MetricAdmin: Class com.amazonaws.metrics.MetricAdmin is not a JMX compliant MXBean)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web24091

  • via Stack Overflow by user3127060
    , 1 year ago
    javax.management.NotCompliantMBeanException: MBean class com.amazonaws.metrics.MetricAdmin does not implement DynamicMBean, and neither follows the Standard MBean conventions (javax.management.NotCompliantMBeanException: Class
  • via Oracle Community by 843798, 2 weeks ago
    java.lang:type=OperatingSystem is not a platform MXBean
  • via Oracle Community by 843798, 1 year ago
    java.lang:type=Memory is not a platform MXBean
  • Stack trace

    • java.lang.IllegalArgumentException: javax.management.NotCompliantMBeanException: MBean class com.amazonaws.metrics.MetricAdmin does not implement DynamicMBean, and neither follows the Standard MBean conventions (javax.management.NotCompliantMBeanException: Class com.amazonaws.metrics.MetricAdmin is not a JMX compliant Standard MBean) nor the MXBean conventions (javax.management.NotCompliantMBeanException: com.amazonaws.metrics.MetricAdmin: Class com.amazonaws.metrics.MetricAdmin is not a JMX compliant MXBean) at com.amazonaws.jmx.MBeans.registerMBean(MBeans.java:56) at com.amazonaws.jmx.SdkMBeanRegistrySupport.registerMetricAdminMBean(SdkMBeanRegistrySupport.java:27) at com.amazonaws.metrics.AwsSdkMetrics.registerMetricAdminMBean(AwsSdkMetrics.java:399) at com.amazonaws.metrics.AwsSdkMetrics.<clinit>(AwsSdkMetrics.java:351) at com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient.<clinit>(AmazonDynamoDBClient.java:245) at mycode.MinimalTest$.entry(MinimalTest.scala:275) at mycode.MinimalTest$.main(MinimalTest.scala:248) at mycode.MinimalTest.main(MinimalTest.scala) Caused by: javax.management.NotCompliantMBeanException: MBean class com.amazonaws.metrics.MetricAdmin does not implement DynamicMBean, and neither follows the Standard MBean conventions (javax.management.NotCompliantMBeanException: Class com.amazonaws.metrics.MetricAdmin is not a JMX compliant Standard MBean) nor the MXBean conventions (javax.management.NotCompliantMBeanException: com.amazonaws.metrics.MetricAdmin: Class com.amazonaws.metrics.MetricAdmin is not a JMX compliant MXBean) at com.sun.jmx.mbeanserver.Introspector.checkCompliance(Introspector.java:176) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:317) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) at com.amazonaws.jmx.MBeans.registerMBean(MBeans.java:52) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago