soap prob send mail: org.hibernate.LazyInitializationExcepti

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

tiago.cury
Posts: 2
Joined: Mon Jun 08, 2009 7:21 pm

soap prob send mail: org.hibernate.LazyInitializationExcepti

Post by tiago.cury »

Hi,

I opened a bug report:
http://sourceforge.net/tracker/?func=de ... tid=848488

I get a hibernate exception after sending a SOAP message using the SendMailing operation. I receive a SOAP with 0 (error) as return code.

2009-06-08 15:18:49,320 - failed to lazily initialize a collection of role: Mailing.mediatypes, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: Mailing.mediatypes, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
...

any tip?

regards,
Tiago