[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.m2m] Re: [ATL] NullPointerException--ERROR
|
Hi Rasha,
Rasha a Ãcrit :
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.
Are you sure that the NullPointerException comes from this helper?
Do you have already tested separately all the other helpers you are
calling from this one?
Rasha
Best regards,
Hugo
--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@xxxxxxxxxxxxxx
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------