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-2330) [tools][jmx_console] jmx_console JMX Perspective works incorrect after new connection is set.
Date Mon, 27 Nov 2006 11:09:21 GMT
[tools][jmx_console] jmx_console JMX Perspective works incorrect after new connection is set.
---------------------------------------------------------------------------------------------

                 Key: HARMONY-2330
                 URL: http://issues.apache.org/jira/browse/HARMONY-2330
             Project: Harmony
          Issue Type: Bug
            Reporter: Ilya Okomin
            Priority: Minor


Problem details:
MBean Attribute view throws NPE after a set of actions described in below:

Steps to Reproduce:
1.Launch Eclipse. Open JMX Perspective by using Window->Open
Perspective->Other...->JMX Console->JMX Perspective
2.Connect to local VM by using File->New->JMX Connection Wizard. After the
wizard will open - select 3-rd tab from the left ("Local VM").

Result:
State string "Not connected" in the MBean Attribute view and MBean Operations view hasn't
been changed.

Then if you close MBean Attribute view and set JMX Perspective to default (right mouse button
click over JMX Perspective tab and choose "Reset") - NPE is thrown:
java.lang.NullPointerException
	at org.apache.harmony.x.management.console.plugin.AttributeView.redraw(AttributeView.java:134)
	at org.apache.harmony.x.management.console.plugin.AttributeView.createPartControl(AttributeView.java:109)
	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)
	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:180)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
	at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:512)
	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
	at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
	at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
	at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:528)
	at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:485)
	at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
	at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:813)
	at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2979)
	at org.eclipse.ui.internal.WorkbenchPage.busyResetPerspective(WorkbenchPage.java:849)
	at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:791)
	at org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.java:2528)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
	at org.eclipse.ui.internal.WorkbenchPage.resetPerspective(WorkbenchPage.java:2526)
	at org.eclipse.ui.internal.ResetPerspectiveAction.run(ResetPerspectiveAction.java:58)
	at org.eclipse.ui.internal.PerspectiveAction.run(PerspectiveAction.java:70)
	at org.eclipse.ui.internal.PerspectiveSwitcher$16.widgetSelected(PerspectiveSwitcher.java:1140)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)



-- 
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