cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonny Becker" <jonnypony...@hotmail.com>
Subject Re: CHS and asm-errors
Date Thu, 14 Apr 2005 15:40:34 GMT
Hi,

I have a default constructor without parameters for Country. But Hibernate 
needs an "empty" constructor, doesn't it?

Could you give me a hint what and where to look for. (This is the CHS with 
Hibernate3 modifications.). This Exception tells me nothing.

thanks
jonny


>From: Leszek Gawron <lgawron@mobilebox.pl>
>Reply-To: users@cocoon.apache.org
>To: users@cocoon.apache.org
>Subject: Re: CHS and asm-errors
>Date: Thu, 14 Apr 2005 15:16:44 +0200
>
>Jonny Becker wrote:
>>Hi,
>>
>>I commented out BSF and used the latest asm-jars. Now I get following 
>>(differnent) errors on startup:
>>...
>>CGLIB Enhancement failed: org.apache.cocoon.petstore.model.Country
>>java.lang.IllegalArgumentException: Superclass has no null constructors 
>>but no arguments were given
>>      at net.sf.cglib.proxy.Enhancer.emitConstructors(Enhancer.java:783)
>>      at net.sf.cglib.proxy.Enhancer.emit(Enhancer.java:749)
>>      at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:481)
>>...
>>
>>What does this tell me now?
>just guessing .. do you have a default constructor without parameters.
>
>--
>Leszek Gawron                                      lgawron@mobilebox.pl
>IT Manager                                         MobileBox sp. z o.o.
>+48 (61) 855 06 67                              http://www.mobilebox.pl
>mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>

_________________________________________________________________
Machen Sie lästigen E-Mails ein Ende. MSN Hotmail mit Junk-Mail-Filter. 
http://www.msn.de/antispam/prevention/junkmailfilter Jetzt kostenlos 
anmelden!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message