Exception when invoking certain methods
---------------------------------------
Key: JBIDE-3230
URL:
https://jira.jboss.org/jira/browse/JBIDE-3230
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jmx
Affects Versions: 3.0.0.cr1
Reporter: Max Rydahl Andersen
Assignee: Rob Stryker
Priority: Critical
Fix For: 3.0.0.cr1
EXECUTE: Expand JBoss connection
EXECUTE: Find jboss.deployment.DeploymentScanner.URL and double click it
EXECUTE: select listDeployedURLs in the editor and click the button to invoke it.
ASSERT: Result is shown and no exception thrown.
ACTUAL: Dialog shown with NPE
java.lang.NullPointerException
at
org.jboss.tools.jmx.ui.test.interactive.RedTextControlFactory.createControl(RedTextControlFactory.java:26)
at
org.jboss.tools.jmx.ui.internal.controls.AttributeControlFactory.createControl(AttributeControlFactory.java:132)
at
org.jboss.tools.jmx.ui.internal.controls.AttributeControlFactory.createControl(AttributeControlFactory.java:97)
at
org.jboss.tools.jmx.ui.internal.dialogs.OperationInvocationResultDialog.createDialogArea(OperationInvocationResultDialog.java:43)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at
org.jboss.tools.jmx.ui.internal.dialogs.OperationInvocationResultDialog.open(OperationInvocationResultDialog.java:56)
at
org.jboss.tools.jmx.ui.internal.editors.OperationDetails$InvokeOperationButton.widgetSelected(OperationDetails.java:224)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Marked as critical since this is essential functionallity of the JMX views
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira