For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 1 reply, 2 voices, and was last updated 19 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
organicveggieMemberAfter installing MyEclipse 5 with Eclipse 3.2.1, I get an error every time I left-click on an item in the Package Explorer. This independent of the perspective (Java or MyEclipse). It affects both directories and files. The error simply tells me to look at the error log, which I have pasted below. This also seems to prevent me from right-clicking on the project or even double-clicking to open an item.
!ENTRY org.eclipse.jface 4 2 2006-11-11 10:03:22.348 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 java.lang.NoSuchMethodError: org.eclipse.jdt.internal.core.JavaModel.getOldJavaProjectsList()[Lorg/eclipse/jdt/core/I JavaProject; at com.genuitec.eclipse.core.util.JavaMetaUtils.getJavaProject(Unknown Source) at com.genuitec.eclipse.core.util.JavaMetaUtils.getJavaProject(Unknown Source) at com.genuitec.eclipse.core.util.Util.getJavaProject(Unknown Source) at com.genuitec.eclipse.hibernate.action.AddHibernateCapabilitiesActionDelegate.selectionChanged(AddHibernate CapabilitiesActionDelegate.java:105) at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:208) at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:280) at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:302) at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156) at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:843) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1128) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1154) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:213) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:207) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:374) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842) 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:149) 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)I have tried disabling the Hibernate plugin by giong to Windows | Preferences | General | Capabilities | Advanced, but that didn’t have any impact. Any suggestions would be greatly appreciated!
Here is a summary of my system:
Eclipse 3.2.1
MyEclipse 4.0.3 GA
Subclipse 1.1.8
Fedora Core 5 on an i686
KDE 3.5.4
Sun JDK 1.5.0_06My configuration details are as follows:
*** Date: Sat Nov 11 10:59:51 CST 2006 *** System properties: OS=Linux OS version=2.6.18-1.2200.fc5 Java version=1.5.0_06 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 4.0.3 GA Build id: 20051025-4.0.3-GA *** Eclipse details: Eclipse SDK Version: 3.2.1 Build id: M20060921-0945 Eclipse Platform Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx Build id: M20060921-0945 Eclipse RCP Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq Build id: M20060921-0945 Eclipse Java Development Tools Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC- Build id: M20060921-0945 Eclipse Plug-in Development Environment Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG Build id: M20060921-0945 Eclipse Project SDK Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ Build id: M20060921-0945 Eclipse startup command=-os linux -ws gtk -arch x86 -launcher /home/laurent/apps/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 37800a -data /home/laurent/src/bealetech -showlocation -vm /usr/java/jdk1.5/bin/javaThanks!
-Sean
November 13, 2006 at 8:54 am #261631
Riyad KallaMemberSean,
The problem is that you are using incompatible versions of Eclipse and MyEclipse. You actually need to be using our newly released 5.1 version of MyEclipse with that version of Eclipse you have. The fastest way to correct this is to shut down MyEclipse, erase the directory, restart Eclipse using the -clean command line argument. Then shut it down.Now go to our download section, download the 5.1 installer, and reinstall it. Now fire MyEclipse back up, you should be all set.
(NOTE: Any time you see exceptions like the one you posted, where Methods or Class names are the problem, that is an immediate red flag for “incompatible versions”, meaning that one version of something is looking for a method or class that isn’t in the other version of the program. It’s just a good rule of thumb when troubleshooting these things.)
-
AuthorPosts
