G'day,

I'm using the current combination for my web application

Resin 2.1.9 (for compatibility with my web host)
Maverick 2.2.0

I recently upgraded my Velocity Tools to 1.1-rc1 and began using the
VelocityLayoutServlet to handle layout control rather than Maverick view
transforms.

In upgrading to these tools, the commons-beanutils package was also upgraded
to 1.6.1.

Prior to upgrading, I was able to upgrade files without any difficulty.
After upgrading, any forms of enctype="multipart/form-data" that had an
input object of type="file" produced the following exception.

java.lang.IllegalArgumentException: No bean specified
        at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUti
ls.java:837)
        at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934)
        at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
        at
org.infohazard.maverick.ctl.ThrowawayBean2.go(ThrowawayBean2.java:39)
        at org.infohazard.maverick.ctl.Throwaway2.go(Throwaway2.java:48)
        at
org.infohazard.maverick.flow.ThrowawayControllerAdapter.go(ThrowawayControll
erAdapter.java:58)
        at org.infohazard.maverick.flow.CommandBase.go(CommandBase.java:44)
        at org.infohazard.maverick.Dispatcher.service(Dispatcher.java:237)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
      ... etc

If I comment out any of these input objects from my templates, the forms
submit as they would normally do. I was unable to find any info in the
archives (or elsewhere on the net...), so I was wondering if anyone else has
encountered this problem. 

cheers

Mark Whelan



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
[INVALID FOOTER]

Reply via email to