Skip to main content



      Home
Home » Modeling » TMF (Xtext) » [Xtext] Workflow invocation yields "Incompatible Classes" error
[Xtext] Workflow invocation yields "Incompatible Classes" error [message #42138] Tue, 28 April 2009 07:25 Go to next message
Eclipse UserFriend
Hi all,

I'm trying to call workflow B from workflow A and then to invoke the
XtendComponent like so:

<component class="org.eclipse.xtend.XtendComponent">
<metaModel
class="org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel "/>
<invoke value="${topFunctionCallExpression}" />
<outputSlot value="otherModel" />
</component>

It get the following error message when running workflow A:

SEVERE: [ERROR]: Incompatible Classes:
'org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel' is not a
subclass of the expected class
'org.eclipse.xtend.typesystem.MetaModel'.(Element: bean metaModel
class='org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel ' in
org/example/test/model2model.mwe:12; Reported by: -UNKNOWN-)

The error traces back to the VisitorAnalyzer class (visitComponentAST()
method). I get a bit confused by the error message.. is that correct?

Regards,
Johan
Re: [Xtext] Workflow invocation yields "Incompatible Classes" error [message #42371 is a reply to message #42138] Wed, 29 April 2009 04:40 Go to previous message
Eclipse UserFriend
Hi Johan,

are you running the workflow within OSGi?
Is it possible to provide a stripped down example?
If it contains information you don't want to share publicly, you can
send it to me directly.

Cheers,
Sven

Johan Wannheden schrieb:
> Hi all,
>
> I'm trying to call workflow B from workflow A and then to invoke the
> XtendComponent like so:
>
> <component class="org.eclipse.xtend.XtendComponent">
> <metaModel
> class="org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel "/>
> <invoke value="${topFunctionCallExpression}" />
> <outputSlot value="otherModel" />
> </component>
>
> It get the following error message when running workflow A:
>
> SEVERE: [ERROR]: Incompatible Classes:
> 'org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel' is not a
> subclass of the expected class
> 'org.eclipse.xtend.typesystem.MetaModel'.(Element: bean metaModel
> class='org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel ' in
> org/example/test/model2model.mwe:12; Reported by: -UNKNOWN-)
>
> The error traces back to the VisitorAnalyzer class (visitComponentAST()
> method). I get a bit confused by the error message.. is that correct?
>
> Regards,
> Johan
Previous Topic:[Announce] TMF XTEXT 0.7.0 I200904271049 is available
Next Topic:DSL2Model
Goto Forum:
  


Current Time: Thu May 15 22:55:46 EDT 2025

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

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

Back to the top