Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Migrating from eclipse 3.4 to 4.3(Migrating from eclipse 3.4 to 4.3)
Migrating from eclipse 3.4 to 4.3 [message #1722669] Mon, 08 February 2016 07:47 Go to next message
Bharat Jain is currently offline Bharat JainFriend
Messages: 1
Registered: February 2016
Junior Member
while migrating from Eclipse Helios to Kepler I am getting an error as below:
!ENTRY org.eclipse.e4.ui.workbench.swt 4 2 2016-02-08 13:04:10.462
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workbench.swt".
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.LinkageError: loader constraint violation: when resolving interface method "org.eclipse.e4.ui.workbench.swt.util.ISWTResourceUtilities.imageDescriptorFromURI(Lorg/eclipse/emf/common/util/URI;)Ljava/lang/Object;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/ui/internal/registry/ViewDescriptor, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/eclipse/e4/ui/workbench/swt/util/ISWTResourceUtilities, have different Class objects for the type org/eclipse/emf/common/util/URI used in the signature
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:84)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:73)
at org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1400)
at org.eclipse.ui.internal.Workbench.getActiveWorkbenchWindow(Workbench.java:1373)
at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActiveShell(WorkbenchSourceProvider.java:924)

Re: Migrating from eclipse 3.4 to 4.3 [message #1722731 is a reply to message #1722669] Mon, 08 February 2016 16:15 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 876
Registered: January 2012
Senior Member

Hmm, weird. That would seem to indicate that you have two versions of org.eclipse.emf.common loaded. Except org.eclipse.emf.common is a singleton bundle.

My guess is that this is similar to bug 376667 which seems to have been triggered by having two active versions of org.eclipse.jface. Try running eclipse with '-clean' and see if that makes a difference.

Brian.


Brian.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:Bizarre red minimize/maximize/other icons in Eclipse
Next Topic:UIEvents.UILifeCycle.APP_SHUTDOWN_STARTED event is not thrown
Goto Forum:
  


Current Time: Sun Sep 20 09:01:36 GMT 2020

Powered by FUDForum. Page generated in 0.01855 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top