Vincent, I was taking a look at my generated value objects and noticed
that it has statements like this for setting aggregate values:

afValue.setClienteValue(getCliente().getClienteValue());

However, what happens if getCliente() returns null (the relation isn't
set)? NPE. I think you need to check for null before using the getter.

-- 
Ja ne,
   Marcus Brito
   mailto: [EMAIL PROTECTED]

Anime Gaiden - De f�s para f�s, sempre.
http://www.animegaiden.com.br

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to