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 13:13:23 GMT
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?

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 13:54:43 +0200
>
>Jonny Becker wrote:
>>Hi,
>>
>>thanks for the quick response.
>>
>>But:
>>
>>>It should help. did you exclude BSF block during cocoon build?
>>
>>No. Should I?
>I read a post some days ago that bsf relies on asm. If you remove bsf from 
>your cocoon build you are free to put any asm version into cocoon lib 
>directory and remove the current one.
>
>BSF is the only block that needs asm:
>>  <project name="cocoon-block-bsf" status="stable" dir="src/blocks/bsf">
>>     <package>org.apache.cocoon</package>
>>
>>     <ant target="gump-block">
>>       <property name="block-name" value="bsf"/>
>>       <property name="build" value="build/cocoon-@@DATE@@"/>
>>     </ant>
>>
>>     <depend project="cocoon" inherit="all"/>
>>     <depend project="jakarta-bsf"/>
>>
>>     <library name="bsf"/>
>>     <library name="groovy"/>
>>     <library name="asm"/>
>>     <library name="asm-util"/>
>>
>>     <work nested="tools/anttasks"/>
>>     <home nested="build/cocoon-@@DATE@@"/>
>>
>>     <jar name="blocks/bsf-block.jar"/>
>>
>>     <nag from="Gump &lt;general@gump.apache.org&gt;" 
>>to="dev@cocoon.apache.org"/>
>>   </project>
>
>
>--
>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
>

_________________________________________________________________
Die rote Karte für lästige E-Mails. 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