I am having problems getting commonclipse to generate methods
(any of the four). Recently I upgraded versions (automatically)
and am having problems. I am running Eclipse Version: 3.0.2,
Build id: 200503110845 and plugin version 1.3.0 on Mac OS X
10.3.9 running Java 1.4.2_05.
All of the obvious things seems to be in place: eclipse chose the
appropriate version of the plugin (or so it thinks), commons-lang
2.0 is in my project path. As an FYI, everything else seems to be
working related to the plugin, including the preferences and the
contextual menu display. Please help.
This is what appears in my logs when the error occurs:
!ENTRY org.eclipse.ui 4 0 May 06, 2005 13:08:59.662
!MESSAGE
org.eclipse.core.resources.IResource.getResourceAttributes()Lorg
/eclipse/core/resources/ResourceAttributes;
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.core.resources.IResource.getResourceAttributes()Lorg
/eclipse/core/resources/ResourceAttributes;
at net.sf.commonclipse.Generator.generate(Generator.java:
87)
at
net.sf.commonclipse.popup.actions.JavaTypeAction.runAction(Jav
aTypeAction.java:91)
at
net.sf.commonclipse.popup.actions.JavaTypeViewerAction.run(Ja
vaTypeViewerAction.java:86)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.jav
a:276)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSele
ction(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionCo
ntributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEvent(Act
ionContributionItem.java:785)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:
82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:
1196)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:
1220)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:
1205)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
2871)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2541)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:
1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
bench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.jav
a:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:
96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformA
ctivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.j
ava:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.j
ava:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
odAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
org.eclipse.core.resources.IResource.getResourceAttributes()Lorg
/eclipse/core/resources/ResourceAttributes;
Thanks!
Kim