Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1765

Topic deletion in JMX navigator cause errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.0.0
    • JMX
    • None
      1. start JBoss Fuse 6.2.1.GA rutime
      2. open JMX Navigator view
      3. create a topic
      4. delete the topic
      5. refresh JMX Navigator

      The following error occurs after topic deletion.

      eclipse.buildId=9.1.0.GA-v20160403-1700-B477
      java.version=1.8.0_73
      java.vendor=Oracle Corporation
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization C:\Users\Tomas Sedmik\Development\jbds-installer\jbds-9.1.0.CR1_jbdsis-9.0.0.CR1/resources/pluginCustomization.ini
      Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization C:\Users\Tomas Sedmik\Development\jbds-installer\jbds-9.1.0.CR1_jbdsis-9.0.0.CR1/resources/pluginCustomization.ini
      
      org.eclipse.ui
      Error
      Thu Apr 07 11:23:11 CEST 2016
      Unhandled event loop exception
      
      org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.reflect.UndeclaredThrowableException)
      	at org.eclipse.swt.SWT.error(SWT.java:4491)
      	at org.eclipse.swt.SWT.error(SWT.java:4406)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      Caused by: java.lang.reflect.UndeclaredThrowableException
      	at com.sun.proxy.$Proxy48.getName(Unknown Source)
      	at org.fusesource.ide.jmx.activemq.navigator.TopicNode.toString(TopicNode.java:58)
      	at org.fusesource.ide.jmx.activemq.navigator.TopicNode.hashCode(TopicNode.java:143)
      	at java.util.HashMap.hash(HashMap.java:338)
      	at java.util.HashMap.remove(HashMap.java:798)
      	at org.eclipse.ui.internal.navigator.extensions.StructuredViewerManager$StructuredViewerAccess$Listener.disassociate(StructuredViewerManager.java:97)
      	at org.eclipse.jface.viewers.StructuredViewer.disassociate(StructuredViewer.java:645)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.disassociate(AbstractTreeViewer.java:853)
      	at org.eclipse.jface.viewers.TreeViewer.disassociate(TreeViewer.java:1069)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.disassociateChildren(AbstractTreeViewer.java:873)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.disassociate(AbstractTreeViewer.java:858)
      	at org.eclipse.jface.viewers.TreeViewer.disassociate(TreeViewer.java:1069)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.disassociateChildren(AbstractTreeViewer.java:873)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.disassociate(AbstractTreeViewer.java:858)
      	at org.eclipse.jface.viewers.TreeViewer.disassociate(TreeViewer.java:1069)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2887)
      	at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:804)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1881)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1848)
      	at org.eclipse.ui.navigator.CommonViewer.internalRefresh(CommonViewer.java:527)
      	at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1554)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)
      	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)
      	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1551)
      	at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:534)
      	at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:344)
      	at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:490)
      	at org.jboss.tools.jmx.ui.internal.views.navigator.MBeanExplorerContentProvider$2.run(MBeanExplorerContentProvider.java:287)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	... 24 more
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.fusesource.ide.jmx.activemq.internal.BrokerFacadeSupport$1.invoke(BrokerFacadeSupport.java:59)
      	... 55 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
      	at com.sun.proxy.$Proxy47.getName(Unknown Source)
      	... 59 more
      Caused by: javax.management.InstanceNotFoundException: org.apache.activemq:type=Broker,brokerName=amq,destinationType=Topic,destinationName=test2
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBeanInfo(DefaultMBeanServerInterceptor.java:1375)
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.getMBeanInfo(JmxMBeanServer.java:920)
      	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.apache.karaf.management.internal.MBeanInvocationHandler.invoke(MBeanInvocationHandler.java:60)
      	at com.sun.proxy.$Proxy2.getMBeanInfo(Unknown Source)
      	at org.apache.karaf.management.KarafMBeanServerGuard.handleGetAttribute(KarafMBeanServerGuard.java:204)
      	at org.apache.karaf.management.KarafMBeanServerGuard.invoke(KarafMBeanServerGuard.java:82)
      	at org.apache.karaf.management.internal.MBeanInvocationHandler.invoke(MBeanInvocationHandler.java:43)
      	at com.sun.proxy.$Proxy2.getAttribute(Unknown Source)
      	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1445)
      	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
      	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
      	at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:639)
      	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
      	at sun.rmi.transport.Transport$1.run(Transport.java:200)
      	at sun.rmi.transport.Transport$1.run(Transport.java:197)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
      	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
      	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
      	at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
      	at javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttribute(Unknown Source)
      	at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:903)
      	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:273)
      	... 60 more
      

              Unassigned Unassigned
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: