javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object

GitHub | ramchris | 3 months ago
  1. 0

    Failed to register management beans

    GitHub | 3 months ago | ramchris
    javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object
  2. 0

    java.lang.OutOfMemoryError: Java heap space | JBoss Developer

    jboss.org | 3 months ago
    org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.jca:service=WorkManager
  3. 0

    Deployment on JBoss fails during call to registerMbean()

    GitHub | 3 years ago | quintonm
    javax.management.NotCompliantMBeanException: Class does not expose a management interface: com.p6spy.engine.spy.P6SpyOptions 18:47:19,026 ERROR [STDERR] at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:93) 18:47:19,026 ERROR [STDERR] at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:191) 18:47:19,026 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) 18:47:19,026 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 18:47:19,026 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:601)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ERROR: Class does not expose a management interface

    Stack Overflow | 3 years ago | NEV
    javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object 18:03:30,483 ERROR [STDERR] at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:101) 18:03:30,483 ERROR [STDERR] at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:99) 18:03:30,483 ERROR [STDERR] at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:200) 18:03:30,483 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:03:30,483 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76) 18:03:30,484 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 18:03:30,484 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:607) 18:03:30,484 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) 18:03:30,484 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) 18:03:30,484 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) 18:03:30,484 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) 18:03:30,485 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) 18:03:30,485 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) 18:03:30,485 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) 18:03:30,485 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) 18:03:30,485 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1443) 18:03:30,485 ERROR [STDERR] at java.security.AccessController.doPrivileged(AccessController.java:330) 18:03:30,486 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1438) 18:03:30,486 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:378) 18:03:30,486 ERROR [STDERR] at java.lang.management.ManagementFactory.registerPlatformBeans(ManagementFactory.java:786) 18:03:30,486 ERROR [STDERR] at java.lang.management.ManagementFactory.access$100(ManagementFactory.java:42) 18:03:30,486 ERROR [STDERR] at java.lang.management.ManagementFactory$1.run(ManagementFactory.java:373) 18:03:30,486 ERROR [STDERR] at java.security.AccessController.doPrivileged(AccessController.java:274) 18:03:30,487 ERROR [STDERR] at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:371) 18:03:30,487 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:03:30,487 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76) 18:03:30,487 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 18:03:30,487 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:607) 18:03:30,487 ERROR [STDERR] at org.jboss.system.server.jmx.JMXKernel.start(JMXKernel.java:182)
  6. 0

    Proguard: AmazonAWS and MBean issue

    Stack Overflow | 5 months ago | user3127060
    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)

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.management.NotCompliantMBeanException

      Class does not expose a management interface: java.lang.Object

      at org.jboss.mx.metadata.MBeanCapability.of()
    2. org.jboss.mx
      BasicMBeanRegistry.registerMBean
      1. org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:102)
      2. org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100)
      3. org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100)
      4. org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:182)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    4. org.jboss.mx
      ReflectedDispatcher.invoke
      1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      1 frame
    5. JBoss Application Server J2SE
      Invocation.dispatch
      1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      1 frame
    6. org.jboss.mx
      AbstractInterceptor.invoke
      1. org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      1 frame
    7. JBoss Application Server J2SE
      Invocation.invoke
      1. org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      1 frame
    8. org.jboss.mx
      ModelMBeanOperationInterceptor.invoke
      1. org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      1 frame
    9. JBoss Application Server J2SE
      MBeanServerImpl$3.run
      1. org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      3. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      4. org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
      4 frames
    10. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    11. JBoss Application Server J2SE
      MBeanServerImpl.registerMBean
      1. org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
      2. org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
      2 frames
    12. HikariCP-java6
      HikariDataSource.getConnection
      1. com.zaxxer.hikari.pool.PoolBase.registerMBeans(PoolBase.java:238)
      2. com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:116)
      3. com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:94)
      3 frames
    13. Hibernate
      LocalDataSourceConnectionProvider.getConnection
      1. org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
      1 frame
    14. Hibernate
      AnnotationConfiguration.buildSessionFactory
      1. org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
      2. org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
      3. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
      4. org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
      4 frames
    15. Hibernate
      AbstractSessionFactoryBean.afterPropertiesSet
      1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
      2. org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
      3. org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
      3 frames
    16. com.om.dh
      EnhancedAnnotationSessionFactoryBean.afterPropertiesSet
      1. com.om.dh.util.EnhancedAnnotationSessionFactoryBean.afterPropertiesSet(EnhancedAnnotationSessionFactoryBean.java:185)
      1 frame
    17. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      4 frames
    18. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    19. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
      8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      12 frames