Getting some parsing exceptions..... [message #564311] |
Fri, 27 January 2006 11:37 |
Shrawanika 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
|
|
|
Powered by
FUDForum. Page generated in 0.01726 seconds