You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Okomin (JIRA)" <ji...@apache.org> on 2006/11/24 15:50:02 UTC

[jira] Created: (HARMONY-2316) [tools][jmx_console]NPE is thrown when open JMX Perspective

[tools][jmx_console]NPE is thrown when open JMX Perspective
-----------------------------------------------------------

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


NPE is thrown when open JMX Perspective.

Steps to reproduce:
1.Run put JMX Console plugin into plugins directory of eclipse.
2.Run eclipse on RI vm.
3.Open JMX connection wizard and connect to Local VM.
4.Open JMX Perspective: Window->Open perspective->Other->JMX Perspective

NPE is thrown in attribute tab:

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.busySetPerspective(WorkbenchPage.java:909)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:894)
	at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:3102)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
	at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3100)
	at org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeToPerspectiveMenu.java:91)
	at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.java:331)
	at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:346)
	at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:108)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)




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