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

Failed to get JMX connection for Camel stats

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      61 with Fuse IDE

      Description

      I got this exception from the error log in Eclipse, when deploying the camel-archetype-blueprint example, as out of the box. Using the deploy to wizard in Fuse IDE

      java.io.IOException: No CamelContext could be found in the JMX.
      	at com.fusesource.fmc.camel.facade.CamelFacadeSupport.getCamelContext(CamelFacadeSupport.java:131)
      	at com.fusesource.fmc.camel.facade.CamelFacadeSupport.dumpRoutesStatsAsXml(CamelFacadeSupport.java:277)
      	at com.fusesource.fmc.camel.facade.JmxTemplateCamelFacade$11.doWithCamelFacade(JmxTemplateCamelFacade.java:123)
      	at com.fusesource.fmc.camel.facade.JmxTemplateCamelFacade$11.doWithCamelFacade(JmxTemplateCamelFacade.java:121)
      	at com.fusesource.fmc.camel.facade.JmxTemplateCamelFacade$1.doWithJmxConnector(JmxTemplateCamelFacade.java:43)
      	at com.fusesource.ide.fabric.JmxPluginJmxTemplate$1.run(JmxPluginJmxTemplate.java:37)
      	at com.fusesource.ide.jmx.ui.internal.localjmx.JvmConnectionWrapper.run(JvmConnectionWrapper.java:227)
      	at com.fusesource.ide.fabric.JmxPluginJmxTemplate.execute(JmxPluginJmxTemplate.java:27)
      	at com.fusesource.fmc.camel.facade.JmxTemplateCamelFacade.execute(JmxTemplateCamelFacade.java:39)
      	at com.fusesource.fmc.camel.facade.JmxTemplateCamelFacade.dumpRoutesStatsAsXml(JmxTemplateCamelFacade.java:121)
      	at com.fusesource.ide.fabric.camel.navigator.CachingCamelContextNodeStatisticsContainer.getNodeStats(CachingCamelContextNodeStatisticsContainer.java:37)
      	at com.fusesource.ide.fabric.camel.navigator.CachingCamelContextNodeStatisticsContainer.getNodeStats(CachingCamelContextNodeStatisticsContainer.java:1)
      	at com.fusesource.ide.fabric.camel.navigator.ProcessorBeanView.nodeStatistics(ProcessorBeanView.java:41)
      	at com.fusesource.ide.fabric.camel.navigator.ProcessorBeanView.stats(ProcessorBeanView.java:47)
      	at com.fusesource.ide.fabric.camel.navigator.ProcessorBeanView.getMinProcessingTime(ProcessorBeanView.java:80)
      	at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.fusesource.rider.commons.ui.propsrc.BeanTypePropertyMetadata.getPropertyValue(BeanTypePropertyMetadata.java:89)
      	at com.fusesource.rider.commons.ui.propsrc.BeanPropertySource.getPropertyValue(BeanPropertySource.java:56)
      	at com.fusesource.rider.commons.ui.propsrc.PropertySourceTableView$2.apply(PropertySourceTableView.java:175)
      	at com.fusesource.rider.commons.ui.label.FunctionColumnLabelProvider.apply(FunctionColumnLabelProvider.java:32)
      	at com.fusesource.rider.commons.ui.label.ChartLabelProvider.paint(ChartLabelProvider.java:136)
      	at org.eclipse.jface.viewers.OwnerDrawLabelProvider$OwnerDrawListener.handleEvent(OwnerDrawLabelProvider.java:59)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
      	at org.eclipse.swt.widgets.Table.drawInteriorWithFrame_inView(Table.java:1153)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5716)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Widget.drawRect(Widget.java:733)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5449)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSView.displayIfNeeded(NSView.java:142)
      	at org.eclipse.swt.widgets.Control.update(Control.java:4890)
      	at org.eclipse.swt.widgets.Display.update(Display.java:4734)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
      	at org.eclipse.jface.window.Window.open(Window.java:801)
      	at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:96)
      	at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:73)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
      	at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:187)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
      	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jastrachan James Strachan
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: