harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Okomin (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2336) [tools][jmx_console] jmx_console sometimes throws javax.management.AttributeNotFoundException for attributes on Linux.
Date Mon, 27 Nov 2006 14:17:22 GMT
[tools][jmx_console] jmx_console sometimes throws javax.management.AttributeNotFoundException
for attributes on Linux.
----------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2336
                 URL: http://issues.apache.org/jira/browse/HARMONY-2336
             Project: Harmony
          Issue Type: Bug
         Environment: SuSe Linux, Enterprise Server 9
            Reporter: Ilya Okomin


When you switch from one mbean of the java.lang domain to another sometimes javax.management.AttributeNotFoundException
is thrown.

Scenario to reproduce: 
1.Start jmx_console on RI vm. 
2.Connect to Local vm 
3.Try to switch fast enough between mbeans, sometimes for some attributes e.g. java.lang:name=Java
Heap, type=MemoryPool attribute=Type next exception is thrown:

org.apache.harmony.x.management.console.controller.ControllerOperationException: Attribute
Type does not exist.
	at org.apache.harmony.x.management.console.controller.MBeanOperations.getAttribute(MBeanOperations.java:161)
	at org.apache.harmony.x.management.console.plugin.AttributeView.refreshValues(AttributeView.java:231)
	at org.apache.harmony.x.management.console.plugin.AttributeView.access$100(AttributeView.java:54)
	at org.apache.harmony.x.management.console.plugin.AttributeView$1$1.run(AttributeView.java:156)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2844)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2575)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
	at org.eclipse.core.launcher.Main.run(Main.java:973)
	at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: javax.management.AttributeNotFoundException: Attribute Type does not exist.
	at sun.management.MXBeanSupport.getAttribute(MXBeanSupport.java:478)
	at sun.management.MXBeanSupport.getAttribute(MXBeanSupport.java:71)
	at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.getAttribute(DynamicMetaDataImpl.java:96)
	at com.sun.jmx.mbeanserver.MetaDataImpl.getAttribute(MetaDataImpl.java:181)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:638)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:659)
	at org.apache.harmony.x.management.console.controller.MBeanOperations.getAttribute(MBeanOperations.java:159)
	... 20 more

The same kind of javax.management.AttributeNotFoundException was thrown for me for:
java.lang:type=Compilation attribute=CompilationTimeMonitoringSupported 
java.lang:type=ClassLoading attribute=TotalLoadedClassCount
java.lang:type=OperatingSystem attribute=Arch
etc...

IMO  it is connected with time intervals and server responces.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message