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

Cannot Trace Messages via Jolokia

    XMLWordPrintable

Details

      1. create a new Fuse integration Project (e.g. CBR/blueprint)
      2. run it as Local Camel Context with Jolokia agent
      3. connect to locally running Camel context in JMX NAvigator via Jolokia
      4. start tracing

    Description

      I'm unable to start tracing messages in JMX Navigator view via Jolokia (see attached video)

      eclipse.buildId=10.4.0.GA-v20170427-0526-B16
      java.version=1.8.0_111
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CR1/resources/pluginCustomization.ini
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CR1/resources/pluginCustomization.ini -data /home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CR1/target/tmp -clean
      
      org.fusesource.ide.jmx.camel
      Error
      Wed May 03 12:35:29 CEST 2017
      Failed to start tracing context cbr-example-context. Exception: null
      
      java.lang.reflect.UndeclaredThrowableException
      	at com.sun.proxy.$Proxy55.setEnabled(Unknown Source)
      	at org.fusesource.ide.jmx.camel.navigator.CamelContextNode.startTracing(CamelContextNode.java:232)
      	at org.fusesource.ide.jmx.camel.navigator.CamelContextNode$5.run(CamelContextNode.java:422)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      	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:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	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:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      Caused by: java.lang.reflect.InvocationTargetException
      	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:498)
      	at org.fusesource.ide.camel.model.service.core.jmx.camel.CamelFacadeSupport$1.invoke(CamelFacadeSupport.java:59)
      	... 33 more
      Caused by: java.lang.ClassCastException: org.jolokia.client.request.J4pWriteResponse cannot be cast to java.util.List
      	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.setAttribute(JolokiaMBeanServerConnection.java:153)
      	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:291)
      	at com.sun.proxy.$Proxy54.setEnabled(Unknown Source)
      	... 38 more
      

      Attachments

        Issue Links

          Activity

            People

              apupier@redhat.com Aurélien Pupier
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: