[jbosside-issues] [JBoss JIRA] Commented: (JBIDE-316) 'New' configuration for JBoss IDE integration results in 'Unhandled event loop exception'

Paul Snyder (JIRA) jira-events at lists.jboss.org
Wed Feb 21 11:29:04 EST 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-316?page=comments#action_12353822 ] 
            
Paul Snyder commented on JBIDE-316:
-----------------------------------

Robert Stryker suggests a workaround solution to use the "SERVER api introduced in eclipse 3.2 from webtools"

Please provide more information about how to.  Here is how I am attempting to follow that advice:

First attempt: 
  * From the Eclipse menu, select "Run Debug"
  * Select "Generic Server" then click the "New" button.
  * Select the newly created configuration
Problem: In the "Server" tab of the new configuration, there are no servers listed in the dropdown list.

Second attempt: 
  * From the Eclipse menu, select "Window - Preferences"
  * expand the "Java" item and select "Installed JREs"
  * make sure the desired JRE is set up
  * expand the "Server" item and select "Installed Runtimes"
  * click "Add"
  * In the "New Server Runtime" dialog, expand "JBoss Inc" and select JBoss 4.0 Server Adapter Runtime", then click "Next"
  * Provide a name and the path to my PENTAHO PRECONFIGURED INSTALLATION of the JBoss Server and select the desired JRE
  * Click Finish, then OK to exit the "Preferences"
  * Restart Eclipse
  * From the Eclipse menu, select "Run Debug"
  * Select "Generic Server" then click the "New" button.
  * Select the newly created configuration
Problem: In the "Server" tab of the new configuration, there are no servers listed in the dropdown list.

Third attempt:
  * From the Eclipse menu, select "Window - Preferences"
  * expand the "Java" item and select "Installed JREs"
  * make sure the desired JRE is set up
  * expand the "JBoss Eclipse IDE" and select "JBoss Servers"
Problem: There are no JBoss Servers listed, and no apparent way to add one.

I am really trying to work with the PENTAHO project which has made their documentation dependent on the JBoss IDE.   Probably there are other projects which depend on the JBoss IDE project.  

It would be very nice to have this one answered.

Thanks,

Paul Snyder.

> 'New' configuration for JBoss IDE integration results in 'Unhandled event loop exception'
> -----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-316
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-316
>             Project: JBoss IDE
>          Issue Type: Bug
>          Components: JBossIDE Core
>    Affects Versions: 1.6
>         Environment: Mac OS 10.4.6, Eclipse 3.2RC5
>            Reporter: brettw
>         Assigned To: Marshall Culpepper
>             Fix For: 2.0.0.GA
>
>
> Eclipe: 3.2RC5
> OS: Mac OS 10.4.6
> Hardware: MacBook Pro (Intel), 2GB memory
> When opening the Debug dialog, and selecting 'JBoss 4.0.x' followed by clicking
> 'New' to create a new configuration, the dialog does nothing (is unchanged),
> but the following is emitted into the Eclipse log:
> !ENTRY org.eclipse.ui 4 0 2006-05-25 13:53:42.216
> !MESSAGE org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at
> org.jboss.ide.eclipse.launcher.ui.configuration.jboss.JBoss40xTabGroup.createTabs(JBoss40xTabGroup.java:60)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:70)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:103)
>         at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction.run(AbstractLaunchConfigurationAction.java:106)
>         at
> org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
>         at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
>         at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
>         at
> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
>         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
>         at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:375)
>         at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>         at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:379)
>         at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:321)
>         at
> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
>         at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
>         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:1496)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
>         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
>         at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>         at org.eclipse.core.launcher.Main.run(Main.java:977)
>         at org.eclipse.core.launcher.Main.main(Main.java:952)
> !ENTRY org.eclipse.ui 4 4 2006-05-25 13:54:05.152
> !MESSAGE Unhandled event loop exception
> !ENTRY org.eclipse.ui 4 0 2006-05-25 13:54:05.448
> !MESSAGE org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at
> org.jboss.ide.eclipse.launcher.ui.configuration.jboss.JBoss40xTabGroup.createTabs(JBoss40xTabGroup.java:60)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:70)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:103)
>         at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction.run(AbstractLaunchConfigurationAction.java:106)
>         at
> org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
>         at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
>         at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
>         at
> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
>         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>         at org.eclipse.jface.window.Window.open(Window.java:796)
>         at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
>         at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:375)
>         at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>         at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:379)
>         at
> org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:321)
>         at
> org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
>         at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
>         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:1496)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
>         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
>         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
>         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
>         at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
>         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>         at org.eclipse.core.launcher.Main.run(Main.java:977)
>         at org.eclipse.core.launcher.Main.main(Main.java:952)
> This bug, originally directed to Eclipse was close with this comment:
> ------- Comment #1 From Darin Wright 2006-05-25 15:06 [reply] -------
> The JBoss plug-in is referencing an internal class that no longer exists in
> Eclipse 3.2. This problem should be filed against the providers of the JBoss
> plug-in.

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

        



More information about the jbosstools-issues mailing list