[
http://jira.jboss.com/jira/browse/JBIDE-181?page=all ]
Rob Stryker closed JBIDE-181.
-----------------------------
Resolution: Out of Date
JIRA cleanup: Closing old issues
Can't configure debug JBoss server
----------------------------------
Key: JBIDE-181
URL:
http://jira.jboss.com/jira/browse/JBIDE-181
Project: JBoss Tools
Issue Type: Bug
Environment: Win XP, jdk-1_5_0_03 (but also tried 1.4_2_08), Eclipse 3.1M6 (also
tried Eclipse 3.1M7), JBoss 4 (also tried JBoss 3)
Reporter: j s
I select Run->Debug and can see the four different types of JBoss servers in the
left-hand column (JBoss 2.4.x, JBoss 3.0.x, JBoss 3.2.x, JBoss 4.0.x).
I set up a new configuration under JBoss 4.0 ok. I go back to the normal window and then
go to Window->Preferences->JBoss-IDE->Launcher and select the Server I have just
configured. I then go back to the main window and then to Default Server->Start Server
but the option is greyed out.
When I restart Eclipse, the 'Start Server' option is no longer greyed out - i can
press it but it comes up with: "The chosen operation is not enabled." and then
it goes grey.
When I go back to check the configuration under "Run->Debug" I get -
"An error has occurred. See error log for more details." The Error Log has the
following in it --
Error 2005-05-24 16:13:27.749 Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
java.lang.NullPointerException
at
org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.updateServerConfigurations(HomeTab.java:328)
at org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.access$1(HomeTab.java:311)
at
org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab$1.modifyText(HomeTab.java:138)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:187)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2019)
at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3155)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3032)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3466)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1549)
at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:127)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3114)
at org.eclipse.swt.widgets.Text.windowProc(Text.java:1742)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3466)
at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:2315)
at org.eclipse.swt.widgets.Text.setText(Text.java:1562)
at
org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.updateHomedirFromConfig(HomeTab.java:286)
at
org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.initializeFrom(HomeTab.java:219)
at
org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.initializeFrom(AbstractLaunchConfigurationTabGroup.java:86)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:538)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$5.run(LaunchConfigurationTabGroupViewer.java:471)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:488)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:452)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:788)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$3.selectionChanged(LaunchConfigurationsDialog.java:600)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:680)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:40)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:678)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:949)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:969)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2871)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2530)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:803)
at org.eclipse.jface.window.Window.open(Window.java:781)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:438)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:356)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:360)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:302)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:99)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:220)
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)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2894)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2527)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)
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:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira