Are there any places where you use the @ApplicationState annotation for Survey or Project without create=false?
What happens if you test on "surveyExists" which would be the way before the create=false option was introduced? > -----Original Message----- > From: zack.manning [mailto:[EMAIL PROTECTED] > Sent: Monday, July 07, 2008 14:01 > To: users@tapestry.apache.org > Subject: LazyInitializationException for ASO? > > > Hi All, > > I have a very simple layout component where I look for two ASOs and > display > text based on them. Component snip: http://pastebin.com/m69540e56. Tml > snip: http://pastebin.com/m4435806f. I am getting this exception > http://pastebin.com/m42ec222a. I dont have any hibernate session injected > and I am not calling any getters of objects that would throw a lazy init > exception. This happens even right after I restart jetty so both ASOs > should be null right? When I return null for getSurvey() the exception > goes > away. Any ideas? > > Thanks in advance, > Zack > -- > View this message in context: > http://n2.nabble.com/LazyInitializationException-for-ASO-- > tp363398p363398.html > Sent from the Tapestry Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]