[EMF Compare] ClassCastException GenericMatchEngine [message #113718] |
Mon, 03 March 2008 09:04  |
Eclipse User |
|
|
|
Hi,
When I run a code using EMF Compare out of Eclipse, I have:
org.eclipse.emf.compare.match.engine.GenericMatchEngine cannot be cast
to org.eclipse.emf.compare.match.api.IMatchEngine
It seems the problem comes from to the class:
org.eclipse.emf.compare.match.service.EngineDescriptor
at the line
engine = (IMatchEngine)element.createExecutableExtension("engineClass ")
Any idea?
Best regards,
Cyril.
--
Cyril Faucher
IRISA-INRIA - Rennes, France
[Breathe life into your metamodels www.kermeta.org]
|
|
|
Re: [EMF Compare] ClassCastException GenericMatchEngine [message #113744 is a reply to message #113718] |
Mon, 03 March 2008 11:07  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------040908070602040903020402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cyril,
Strikes me as odd to say the least, as GenericMatchEngine implements
IMatchEngine. The only trigger of such exception I can think of is the
ClassLoader :(.
Could you give some more information as how you're using EMF Compare? is
it from a jar or an RCP application? Are you using it in an OSGI
environment?
The line of code you're pointing shouldn't be called outside of eclipse,
which is the reason I'm wondering what your use case is.
Laurent Goubet
Obeo
Cyril Faucher a
|
|
|
Re: [EMF Compare] ClassCastException GenericMatchEngine [message #615598 is a reply to message #113718] |
Mon, 03 March 2008 11:07  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------040908070602040903020402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Cyril,
Strikes me as odd to say the least, as GenericMatchEngine implements
IMatchEngine. The only trigger of such exception I can think of is the
ClassLoader :(.
Could you give some more information as how you're using EMF Compare? is
it from a jar or an RCP application? Are you using it in an OSGI
environment?
The line of code you're pointing shouldn't be called outside of eclipse,
which is the reason I'm wondering what your use case is.
Laurent Goubet
Obeo
Cyril Faucher a
|
|
|
Powered by
FUDForum. Page generated in 5.80330 seconds