Re: Weird bug

2009-01-26 Thread Howard Lewis Ship
initialize > proxy - no Session >at > org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57) >at > org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) > at > org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLa

Re: Weird Bug II

2009-01-25 Thread superoverdrive
else { return "blabla"; //getText(); } } Original-Nachricht > Datum: Sun, 25 Jan 2009 19:48:24 -0300 > Von: "Thiago H. de Paula Figueiredo" > An: "Tapestry users" > Betreff: Re: Wei

Re: Weird Bug II

2009-01-25 Thread Thiago H. de Paula Figueiredo
Em Sun, 25 Jan 2009 18:37:25 -0300, Tobias Marx escreveu: Caused by: java.lang.NullPointerException at java.lang.String.concat(String.java:1827) at tm.framework.entities.ConfigurationValue.toString(ConfigurationValue.java:45) at java.lang.String.valueOf(String.java:2615)

Weird Bug II

2009-01-25 Thread Tobias Marx
This "bug" is a different bug, so I start a new threadbut it has the same effect. Hope I can contribute to make Tapestry more "stable" as far as errors is concerned...even if those errors should be "stupid errors". Instead of a Tapestry error page there is a server error again: "HTTP ERROR

Re: Weird bug

2009-01-25 Thread Tobias Marx
g.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:899) ... 51 more Original-Nachricht > Datum: Sun, 25 Jan 2009 11:55:18 -0800 > Von: Howard Lewis Ship > An: Tapestry users > Betreff: Re: Weird bug > I'

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 wrote: > On Sat, Jan 24, 2009 at 8:01 PM, wrote: >> The following code: >> >> public O

Re: Weird bug

2009-01-25 Thread Thiago HP
On Sat, Jan 24, 2009 at 8:01 PM, 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 @Persist-related bugs may hap

Re: Weird bug

2009-01-25 Thread Tomas Kolda
Von: Tomas Kolda An: Tapestry users 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(domainID

Re: Weird bug

2009-01-24 Thread superoverdrive
Tapestry users > 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, > Intege

Re: Weird bug

2009-01-24 Thread superoverdrive
> 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

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 followin

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 = (Domain)sessi

Weird bug

2009-01-24 Thread superoverdrive
The following code: public Object onActivate(int domainID) { domain = (Domain)sessionManager.getSession().load(Domain.class, new Integer(domainID)); return this; } leads to: HTTP ERROR: 500 Render queue error in BeginRender[core/ExceptionReport:renderobject_0]: could not initializ