[jboss-user] [JBoss Tools (users)] - XDoclet broken trying to use JBoss 4.2.1GA and JBoss-IDE Ecl

mark@t4p.com do-not-reply at jboss.com
Sun Jul 22 18:41:41 EDT 2007


All, 

Using JBoss 4.2.1GA, Eclipse 3.3, and the 
JBoss Eclipse IDE plugin 1.6.0.GA, I have tried 
to follow the tutorial example, making a Fibo 
calculating session bean. 

I have XDoclet 1.2.3 and have pointed Eclipse to it 
in the Window->Preferences->XDoclet config screen. 

But no matter what I do (including re-installing various ways) 
when I get to the XDoclet-related steps (chap 5), I get 
runtime errors and the XDoclet config page in the properties 
dialog is missing most of it's data entry components. A dialog 
says "The currently displayed page contains invalid values." 
The log attached below shows several exceptions that occurred. 

Something is broken and I am stuck since XDoclet is central 
to getting the code to run. 

Plz advise and thanx in advance, 
/Mark 

!SESSION 2007-07-22 14:54:30.156 ----------------------------------------------- 
eclipse.buildId=I20070625-1500 
java.version=1.5.0_12 
java.vendor=Sun Microsystems Inc. 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
Command-line arguments: -os win32 -ws win32 -arch x86 

!ENTRY org.eclipse.ui 4 4 2007-07-22 15:24:52.718 
!MESSAGE Could not create action delegate for id: org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.action.RunXDocletAction 

!ENTRY org.eclipse.ui 4 4 2007-07-22 15:24:52.734 
!MESSAGE Internal plug-in action delegate error on creation. 
!STACK 0 
java.lang.NullPointerException 
at org.eclipse.jem.workbench.utility.JemProjectUtilities.getJavaProject(JemProjectUtilities.java:201) 
at org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities.getSourcePathOrFirst(J2EEProjectUtilities.java:435) 
at org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities.getSourceFolderOrFirst(J2EEProjectUtilities.java:396) 
at org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.action.XDocletActionDelegate.getFirstSourceFile(XDocletActionDelegate.java:70) 
at org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.action.RunXDocletAction.selectionChanged(RunXDocletAction.java:60) 
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:211) 
at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:126) 
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:280) 
at org.eclipse.ui.internal.PluginAction.(PluginAction.java:112) 
at org.eclipse.ui.internal.ObjectPluginAction.(ObjectPluginAction.java:51) 
at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:266) 
at org.eclipse.ui.internal.ActionDescriptor.(ActionDescriptor.java:170) 
at org.eclipse.ui.internal.ActionDescriptor.(ActionDescriptor.java:100) 
at org.eclipse.ui.internal.ObjectActionContributor.createActionDescriptor(ObjectActionContributor.java:200) 
at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:158) 
at org.eclipse.ui.internal.ObjectActionContributor.readElement(ObjectActionContributor.java:279) 
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:138) 
at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:127) 
at org.eclipse.ui.internal.ObjectActionContributor.readConfigElement(ObjectActionContributor.java:250) 
at org.eclipse.ui.internal.ObjectActionContributor.isApplicableTo(ObjectActionContributor.java:216) 
at org.eclipse.ui.internal.ObjectContributorManager.isApplicableTo(ObjectContributorManager.java:294) 
at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:82) 
at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:261) 
at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:337) 
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:290) 
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:395) 
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:391) 
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:417) 
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) 
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) 
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) 
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962) 
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943) 
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3981) 
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3698) 
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291) 
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1584) 
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1753) 
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351) 
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) 
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:228) 
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3708) 
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3287) 
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) 
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) 
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) 
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) 
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) 
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) 
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) 
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 
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.equinox.launcher.Main.invokeFramework(Main.java:504) 
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) 
at org.eclipse.equinox.launcher.Main.run(Main.java:1169) 

!ENTRY org.eclipse.jface 4 2 2007-07-22 15:26:28.171 
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". 
!STACK 0 
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/ui/viewsupport/ListContentProvider 
at org.jboss.ide.eclipse.xdoclet.run.ui.ConfigurationListViewer.(ConfigurationListViewer.java:115) 
at org.jboss.ide.eclipse.xdoclet.run.ui.properties.ConfigurationPropertyPage.createContents(ConfigurationPropertyPage.java:329) 
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:233) 
at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1456) 
at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:1213) 
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 
at org.eclipse.core.runtime.Platform.run(Platform.java:857) 
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46) 
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) 
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1207) 
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:433) 
at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:698) 
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842) 
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 
at org.eclipse.core.runtime.Platform.run(Platform.java:857) 
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46) 
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) 
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840) 
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1153) 
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1178) 
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250) 
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244) 
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418) 
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) 
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659) 
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296) 
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) 
at org.eclipse.jface.window.Window.open(Window.java:796) 
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156) 
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) 
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) 
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) 
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) 
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) 
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) 
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) 
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) 
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) 
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) 
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) 
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) 
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) 
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) 
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 
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.equinox.launcher.Main.invokeFramework(Main.java:504) 
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) 
at org.eclipse.equinox.launcher.Main.run(Main.java:1169) 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066507#4066507

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066507



More information about the jboss-user mailing list