Re: Weird bug

2009-01-26 Thread Howard Lewis Ship
:899) ... 51 more Original-Nachricht Datum: Sun, 25 Jan 2009 11:55:18 -0800 Von: Howard Lewis Ship hls...@gmail.com An: Tapestry users users@tapestry.apache.org Betreff: Re: Weird bug I'm curious as well as to why this would result in a 500 rather than the T5

Re: Weird bug

2009-01-25 Thread Tomas Kolda
Von: Tomas Kolda ko...@web2net.cz An: Tapestry users users@tapestry.apache.org Betreff: Re: Weird bug What happen when you use injected session instead of sessionmanager? @Inject private Session session; public Object onActivate(int domainID) { domain = (Domain)this.session.get

Re: Weird bug

2009-01-25 Thread Thiago HP
On Sat, Jan 24, 2009 at 8:01 PM, superoverdr...@gmx.de wrote: The following code: public Object onActivate(int domainID) { domain = (Domain)sessionManager.getSession().load(Domain.class, new Integer(domainID)); return this; } One advice: some very subtle and hard-to-find

Re: Weird bug

2009-01-25 Thread Howard Lewis Ship
I'm curious as well as to why this would result in a 500 rather than the T5 ExceptionReport. Any other configuration? What's the full stack trace of the exception? On Sun, Jan 25, 2009 at 4:54 AM, Thiago HP thiag...@gmail.com wrote: On Sat, Jan 24, 2009 at 8:01 PM, superoverdr...@gmx.de

Re: Weird bug

2009-01-25 Thread Tobias Marx
Betreff: Re: Weird bug I'm curious as well as to why this would result in a 500 rather than the T5 ExceptionReport. Any other configuration? What's the full stack trace of the exception? On Sun, Jan 25, 2009 at 4:54 AM, Thiago HP thiag...@gmail.com wrote: On Sat, Jan 24, 2009 at 8:01 PM

Re: Weird bug

2009-01-24 Thread Andy Pahne
Hi, this is complety unrelate to Tapestry. Go and ask the Hibernate forums or read Hibernate docs (API of load() and get() would be a good starter). Cheers, Andy superoverdr...@gmx.de schrieb: The following code: public Object onActivate(int domainID) { domain =

Re: Weird bug

2009-01-24 Thread Tomas Kolda
What happen when you use injected session instead of sessionmanager? @Inject private Session session; public Object onActivate(int domainID) { domain = (Domain)this.session.get(Domain.class, Integer.valueOf(domainID)); return this; } Tomas superoverdr...@gmx.de napsal(a): The

Re: Weird bug

2009-01-24 Thread superoverdrive
An: Tapestry users users@tapestry.apache.org Betreff: Re: Weird bug Hi, this is complety unrelate to Tapestry. Go and ask the Hibernate forums or read Hibernate docs (API of load() and get() would be a good starter). Cheers, Andy superoverdr...@gmx.de schrieb: The following code

Re: Weird bug

2009-01-24 Thread superoverdrive
An: Tapestry users users@tapestry.apache.org Betreff: Re: Weird bug What happen when you use injected session instead of sessionmanager? @Inject private Session session; public Object onActivate(int domainID) { domain = (Domain)this.session.get(Domain.class, Integer.valueOf