2 Replies Latest reply on Dec 9, 2005 1:41 PM by Vivek Srivastav

    Error adding new JBoss configuration in Eclipse

    Vivek Srivastav Newbie

      Hi,
      I am unable to add JBoss configuration. I installed a fresh eclipse IDE from eclipse.org, Updated the JBoss IDE from the sourceforge URL, copied the xdoclet and refreshed it. Now when I went in to add a new JBoss Configuration, if shows up an exception saying "Error adding new JBoss configuration", see the log file for details.
      Any suggestion?

        • 1. Re: Error adding new JBoss configuration in Eclipse
          Vivek Srivastav Newbie

          Following is the entry in the log file:
          ------------------------------------------

          !ENTRY org.eclipse.jface 4 2 2005-12-09 12:51:58.484
          !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
          !STACK 0
          java.lang.NoSuchMethodError: org.eclipse.jdt.internal.debug.ui.launcher.LauncherMessages.getString(Ljava/lang/String;)Ljava/lang/String;
          at org.jboss.ide.eclipse.launcher.ui.configuration.ServerLaunchArgumentsTab.createControl(ServerLaunchArgumentsTab.java:86)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.showTabsFor(LaunchConfigurationTabGroupViewer.java:720)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.showInstanceTabsFor(LaunchConfigurationTabGroupViewer.java:639)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:519)
          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:789)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$3.selectionChanged(LaunchConfigurationsDialog.java:601)
          at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
          at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
          at org.eclipse.core.runtime.Platform.run(Platform.java:783)
          at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
          at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
          at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
          at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1453)
          at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:379)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.doInitialTreeSelection(LaunchConfigurationsDialog.java:376)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.initializeContent(LaunchConfigurationsDialog.java:317)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createContents(LaunchConfigurationsDialog.java:312)
          at org.eclipse.jface.window.Window.create(Window.java:418)
          at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.create(LaunchConfigurationsDialog.java:1597)
          at org.eclipse.jface.window.Window.open(Window.java:776)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:439)
          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.jboss.ide.eclipse.launcher.ui.views.ServerNavigator.doConfiguration(ServerNavigator.java:162)
          at org.jboss.ide.eclipse.launcher.ui.views.ServerNavigator$10.run(ServerNavigator.java:757)
          at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
          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:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
          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 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: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)

          • 2. Re: Error adding new JBoss configuration in Eclipse
            Vivek Srivastav Newbie

            OK, so I disabled the JBoss IDE J2EE 1.4 version and installed the development version based on the new update site as mentioned in announcement by Marshall Culpepper. It seems to work.