commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud HERITIER" <aherit...@gmail.com>
Subject RE: [beautils] incompatibility between 1.6.1 and 1.7.0 ?
Date Wed, 12 Oct 2005 22:56:09 GMT
Hi Dion,

Not yet and I think that's the problem ;-)
You confirm me in my idea !
I'll try to test it.
But if beanutils kept the same API (with only some add-ons), I couldn't have a ClassCastException
?

Arnaud

> -----Message d'origine-----
> De : Dion Gillard [mailto:dion.gillard@gmail.com] 
> Envoyé : jeudi 13 octobre 2005 00:35
> À : Jakarta Commons Developers List
> Objet : Re: [beautils] incompatibility between 1.6.1 and 1.7.0 ?
> 
> Have you tested Jelly with BeanUtils 1.7?
> 
> AFAIK, we've only released against 1.6.1 (See 
> http://svn.apache.org/repos/asf/jakarta/commons/proper/jelly/t
> runk/parent-project.xml
> ).
> 
> On 10/13/05, Arnaud HERITIER <aheritier@gmail.com> wrote:
> > Hi Guys,
> >
> >     I would like to know if there's a  known issue about 
> the incompability between beanutils 1.6.1 and beanutils 1.7.0 ?
> >     I searched in bugzilla but I didn't find something like that.
> >
> >     I'm trying to upgrade beanutils in maven and I receive 
> this error :
> >
> >      [exec] Method invocation failed.
> >      [exec] java.lang.IllegalArgumentException: 
> java.lang.ClassCastException@1e5ebbf
> >      [exec]     at 
> sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
> >      [exec]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> >      [exec]     at java.lang.reflect.Method.invoke(Method.java:324)
> >      [exec]     at 
> org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(Pr
> opertyUtilsBean.java:1773)
> >      [exec]     at 
> org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProper
> ty(PropertyUtilsBean.java:1759)
> >      [exec]     at 
> org.apache.commons.beanutils.PropertyUtilsBean.setNestedProper
> ty(PropertyUtilsBean.java:1648)
> >      [exec]     at 
> org.apache.commons.beanutils.PropertyUtilsBean.setProperty(Pro
> pertyUtilsBean.java:1677)
> >      [exec]     at 
> org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUti
> lsBean.java:1022)
> >      [exec]     at 
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:313)
> >      [exec]     at 
> org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:263)
> >      [exec]     at 
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> >      [exec]     at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> >      [exec]     at 
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> >      [exec]     at 
> org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
> >      [exec]     at 
> org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
> >      [exec]     at 
> org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:237)
> >      [exec]     at 
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> >      [exec]     at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> >      [exec]     at 
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> >      [exec]     at 
> org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
> >      [exec]     at 
> org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
> >      [exec]     at 
> org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:160)
> >      [exec]     at 
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> >      [exec]     at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> >      [exec]     at 
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> >      [exec]     at 
> org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
> >      [exec]     at 
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> >      [exec]     at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> >      [exec]     at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(Mave
> nGoalTag.java:78)
> >      [exec]     at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction
> .performAction(MavenGoalTag.java:109)
> >      [exec]     at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> >      [exec]     at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> >      [exec]     at 
> org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> >      [exec]     at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> >      [exec]     at 
> org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> >      [exec]     at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> >      [exec]     at 
> org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
> >      [exec]     at 
> org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(Mav
> enAttainGoalTag.java:114)
> >      [exec]     at 
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> >      [exec]     at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> >      [exec]     at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(Mave
> nGoalTag.java:78)
> >      [exec]     at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction
> .performAction(MavenGoalTag.java:109)
> >      [exec]     at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> >      [exec]     at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> >      [exec]     at 
> org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
> >      [exec]     at org.apache.maven.werkz.Goal.attain(Goal.java:590)
> >      [exec]     at 
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManage
> r.java:693)
> >      [exec]     at 
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> >      [exec]     at 
> org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.
> java:368)
> >      [exec]     at 
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> >      [exec]     at 
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> >      [exec]     at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(Mave
> nGoalTag.java:78)
> >      [exec]     at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction
> .performAction(MavenGoalTag.java:109)
> >      [exec]     at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> >      [exec]     at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> >      [exec]     at 
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManage
> r.java:693)
> >      [exec]     at 
> org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> >      [exec]     at org.apache.maven.cli.App.doMain(App.java:511)
> >      [exec]     at org.apache.maven.cli.App.main(App.java:1258)
> >      [exec]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >      [exec]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> >      [exec]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> >      [exec]     at java.lang.reflect.Method.invoke(Method.java:324)
> >      [exec]     at 
> com.werken.forehead.Forehead.run(Forehead.java:551)
> >      [exec]     at 
> com.werken.forehead.Forehead.main(Forehead.java:581)
> >
> >     Should we rebuild a new release of Jelly with beanutlis 
> 1.7 ? :-(
> >
> >     Should I open an issue ?
> >
> >     Arnaud
> >
> >
> 
> 
> --
> http://www.multitask.com.au/people/dion/
> "You are going to let the fear of poverty govern your life 
> and your reward will be that you will eat, but you will not 
> live." - George Bernard Shaw
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message