-
1. Re: Null Pointer Exception with Seam Mail
walterjwhite Apr 7, 2009 4:33 AM (in response to walterjwhite)I started typing the wrong exception for the subject.
It is a PropertyNotFoundException, the emailAddress property cannot be resolved on the recipient object which should be an instance of the User class.
Walter
-
2. Re: Null Pointer Exception with Seam Mail
swd847 Apr 7, 2009 4:34 AM (in response to walterjwhite)ui:repeat does not support hashsets, only lists.
-
3. Re: Null Pointer Exception with Seam Mail
walterjwhite Apr 10, 2009 3:53 AM (in response to walterjwhite)Hi,
Thanks for your help, that was it. I checked out later online to see that it does only support lists. Can I ask the question, why aren't generic collections supported?
It would be nice if I could use sets that way I wouldn't have to translate between a set and list. I use a set to simply guarantee uniqueness. I run a few different queries to get a list of recipients.
Other than that, I am really happy with sending emails with Seam. It works really well and allows me to easily create documents on the fly either in text, HTML, or PDF format.
Thanks a bunch,
Walter