[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] NullPointerException--ERROR

Thanks Hugo. I fixed it by comparing directly the name of the return element from the getTaggedValue('MyStereotype','myProperty') method with ?value1?

helper context UML!"uml::Element" def : checkMyPropertyValue() : Boolean =
if (self.hasStereotype('MyStereotype')) then
if (self.getTaggedValue('MyStereotype','myProperty').name <>'value1') then...


However, I still have the same error NullPointerException.

Any hint what else could make this error.

Rasha