javax.management.InstanceNotFoundException: DefaultDomain:application=

SpringSource Issue Tracker | Kris De Volder (c) | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I "Run As Boot" app a simple "Hello world" boot app. When I try to open live bean graph (from project context menu). I get an error: {code} org.springframework.ide.eclipse.beans.ui.livegraph Error Thu Jun 18 09:29:23 PDT 2015 An error occurred while connecting to server. Please check that the application name is correct. javax.management.InstanceNotFoundException: DefaultDomain:application= at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getObjectInstance(DefaultMBeanServerInterceptor.java:462) at com.sun.jmx.mbeanserver.JmxMBeanServer.getObjectInstance(JmxMBeanServer.java:564) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1484) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) at javax.management.remote.rmi.RMIConnectionImpl.getObjectInstance(RMIConnectionImpl.java:518) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transport$2.run(Transport.java:202) at sun.rmi.transport.Transport$2.run(Transport.java:199) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:198) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161) at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl_Stub.getObjectInstance(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getObjectInstance(RMIConnector.java:810) at org.springframework.ide.eclipse.beans.ui.livegraph.model.LiveBeansModelGenerator.connectToModel(LiveBeansModelGenerator.java:77) at org.springframework.ide.eclipse.beans.ui.livegraph.model.LiveBeansModelGenerator$1.run(LiveBeansModelGenerator.java:149) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    SpringSource Issue Tracker | 2 years ago | Kris De Volder (c)
    javax.management.InstanceNotFoundException: DefaultDomain:application=
  2. 0

    I "Run As Boot" app a simple "Hello world" boot app. When I try to open live bean graph (from project context menu). I get an error: {code} org.springframework.ide.eclipse.beans.ui.livegraph Error Thu Jun 18 09:29:23 PDT 2015 An error occurred while connecting to server. Please check that the application name is correct. javax.management.InstanceNotFoundException: DefaultDomain:application= at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getObjectInstance(DefaultMBeanServerInterceptor.java:462) at com.sun.jmx.mbeanserver.JmxMBeanServer.getObjectInstance(JmxMBeanServer.java:564) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1484) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) at javax.management.remote.rmi.RMIConnectionImpl.getObjectInstance(RMIConnectionImpl.java:518) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transport$2.run(Transport.java:202) at sun.rmi.transport.Transport$2.run(Transport.java:199) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:198) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161) at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl_Stub.getObjectInstance(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getObjectInstance(RMIConnector.java:810) at org.springframework.ide.eclipse.beans.ui.livegraph.model.LiveBeansModelGenerator.connectToModel(LiveBeansModelGenerator.java:77) at org.springframework.ide.eclipse.beans.ui.livegraph.model.LiveBeansModelGenerator$1.run(LiveBeansModelGenerator.java:149) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    SpringSource Issue Tracker | 2 years ago | Kris De Volder (c)
    javax.management.InstanceNotFoundException: DefaultDomain:application=

    Root Cause Analysis

    1. javax.management.InstanceNotFoundException

      DefaultDomain:application=

      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean()
    2. Java RT
      RMIConnector$RemoteMBeanServerConnection.getObjectInstance
      1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
      2. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getObjectInstance(DefaultMBeanServerInterceptor.java:462)
      3. com.sun.jmx.mbeanserver.JmxMBeanServer.getObjectInstance(JmxMBeanServer.java:564)
      4. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1484)
      5. javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
      6. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
      7. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
      8. javax.management.remote.rmi.RMIConnectionImpl.getObjectInstance(RMIConnectionImpl.java:518)
      9. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      11. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      12. java.lang.reflect.Method.invoke(Method.java:606)
      13. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
      14. sun.rmi.transport.Transport$2.run(Transport.java:202)
      15. sun.rmi.transport.Transport$2.run(Transport.java:199)
      16. java.security.AccessController.doPrivileged(Native Method)
      17. sun.rmi.transport.Transport.serviceCall(Transport.java:198)
      18. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
      19. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
      20. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
      21. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
      22. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
      25. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      26. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      27. java.lang.Thread.run(Thread.java:745)
      28. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
      29. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
      30. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
      31. com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
      32. javax.management.remote.rmi.RMIConnectionImpl_Stub.getObjectInstance(Unknown Source)
      33. javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getObjectInstance(RMIConnector.java:810)
      33 frames
    3. org.springframework.ide
      LiveBeansModelGenerator$1.run
      1. org.springframework.ide.eclipse.beans.ui.livegraph.model.LiveBeansModelGenerator.connectToModel(LiveBeansModelGenerator.java:77)
      2. org.springframework.ide.eclipse.beans.ui.livegraph.model.LiveBeansModelGenerator$1.run(LiveBeansModelGenerator.java:149)
      2 frames
    4. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame