Hi,

Is your model valid (conform to mm X and mm Y) ? You can check this point using the EMF tree editor, right click on the root element then 'Validate' The org.eclipse.emf.ecore.xmi.FeatureNotFoundException means that your model contains an unknown EStructuralFeature. Otherwise I confirm that our OCL checker may work from several MM as you described.
Regards,

Sebastien

Topcased user list where issues are discussed a écrit :
Hi,
I want to check OCL constraints on a meta model file X, which references
elements from another meta model file Y via ecore:EReference.

When trying to add an OCL constraint on a model (via right click on the
model file), I get an exception in the error log:
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedExcept
ion: org.eclipse.emf.ecore.xmi.FeatureNotFoundException

So it seems to me that the referenced elements can not be found an included
for OCL checking.

Is it possible for me to resolve this somehow?

Best

Markus



_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users




--
Sébastien GABEL
Software Engineer - Eclipse Expert
Division Systèmes Embarqués
Aéronautique Energie Industrie
Communication & Systèmes
6 rue Emmanuel Arin
31300 TOULOUSE +33 (0)5.61.39.46.16


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to