[jbosstools-issues] [JBoss JIRA] (JBIDE-23884) [jolokia] some read requests fail

Rob Stryker (JIRA) issues at jboss.org
Tue Feb 7 16:51:00 EST 2017


     [ https://issues.jboss.org/browse/JBIDE-23884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker reassigned JBIDE-23884:
-----------------------------------

    Assignee: Rob Stryker


> [jolokia] some read requests fail
> ---------------------------------
>
>                 Key: JBIDE-23884
>                 URL: https://issues.jboss.org/browse/JBIDE-23884
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift, server
>    Affects Versions: 4.4.3.Final
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.4.3.Final
>
>         Attachments: JBIDE-23884.png
>
>
> Some attribute read requests fail when issued one at a time rather than in a bulk list. 
> {code}
> org.jboss.tools.jmx.core.JMXException: Error executing JMX request.
> 	at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.run(JolokiaConnectionWrapper.java:342)
> 	at org.jboss.tools.jmx.core.MBeanAttributeInfoWrapper.getValue(MBeanAttributeInfoWrapper.java:47)
> 	at org.jboss.tools.jmx.ui.internal.editors.AttributeDetails.update(AttributeDetails.java:216)
> 	at org.jboss.tools.jmx.ui.internal.editors.AttributeDetails.selectionChanged(AttributeDetails.java:184)
> 	at org.eclipse.ui.forms.DetailsPart$1.run(DetailsPart.java:269)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.ui.forms.DetailsPart.showPage(DetailsPart.java:255)
> 	at org.eclipse.ui.forms.DetailsPart.update(DetailsPart.java:228)
> 	at org.eclipse.ui.forms.DetailsPart.selectionChanged(DetailsPart.java:213)
> 	at org.eclipse.ui.forms.ManagedForm.fireSelectionChanged(ManagedForm.java:125)
> 	at org.jboss.tools.jmx.ui.internal.editors.AttributesSection$1.selectionChanged(AttributesSection.java:57)
> 	at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> 	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> 	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
> 	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
> 	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1229)
> 	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1258)
> 	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
> 	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
> 	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:405)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143)
> 	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:687)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> 	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.ClassCastException: org.jolokia.client.request.J4pReadResponse cannot be cast to java.util.List
> 	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.getAttributes(JolokiaMBeanServerConnection.java:224)
> 	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.getAttribute(JolokiaMBeanServerConnection.java:203)
> 	at org.jboss.tools.jmx.core.MBeanAttributeInfoWrapper$1.run(MBeanAttributeInfoWrapper.java:50)
> 	at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.run(JolokiaConnectionWrapper.java:338)
> 	... 48 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list