Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Getting some parsing exceptions.....
Getting some parsing exceptions..... [message #564311] Fri, 27 January 2006 11:37
Shrawanika is currently offline ShrawanikaFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

Can you help why I am getting these type of errors while evaluating
some
Ocl expressions?....like-

Expression : self.attribute->product(self.attribute)
Error : org.eclipse.emf.ocl.helper.OclParsingException[1]:
Collection type conformance failure: (null).(product)
Please fix your code to add using
EClass.getEStructuralFeatures()
instead of EClass.getEReferences()

Expression : Set{self.attribute.name}->product(Set{self.attribute.name})
Error : org.eclipse.emf.ocl.helper.OclParsingException[1]: Collection
type conformance failure: (Set(null)).(product)
Please fix your code to add using
EClass.getEStructuralFeatures()
instead of EClass.getEAttributes()

Expression : Set{self.attribute}->product(Set{self.attribute})
Error : org.eclipse.emf.ocl.helper.OclParsingException[1]:
Collection type conformance failure: (Set(null)).(product)
Please fix your code to add using
EClass.getEStructuralFeatures()
instead of EClass.getEAttributes()

Thanks and Regards,
Shrawanika
Previous Topic:Can Ocl provided by EMFT be used in some stand alone application?
Next Topic:what will be the return type for evaluation of different types of Ocl expression
Goto Forum:
  


Current Time: Thu Sep 29 21:16:10 GMT 2022

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

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

Back to the top