You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ivar Vasara <iv...@cbc.ca> on 2003/02/03 23:01:31 UTC

strange error (beanutils? config?)

Hi all,
We've recently moved from Struts 1.01 to 1.1b3 and it seems things were working well, but some form submissions result in the following error:

500 Servlet Exception 
java.lang.IllegalArgumentException: No bean specified 
at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837) 
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:849) 
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729) 
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:978) 
at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:779) 
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:246) 
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) 
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) 

I'm not sure what to make of this.. none of my code actually gets touched, and as far as I can tell the parts of my app that work correctly are configured the same as the part that breaks. Any ideas/hints/suggestions ?

_______________________________
Ivar Vasara
Java Developer
http://zed.cbc.ca
(604) 662-6631
Canadian Broadcasting Corporation
(604) 662-6631


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


Re: strange error (beanutils? config?)

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 3 Feb 2003, Ivar Vasara wrote:

> Date: Mon, 03 Feb 2003 17:01:31 -0500
> From: Ivar Vasara <iv...@cbc.ca>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: struts-user@jakarta.apache.org
> Subject: strange error (beanutils? config?)
>
> Hi all,
> We've recently moved from Struts 1.01 to 1.1b3 and it seems things were working well, but some form submissions result in the following error:
>

Did you recompile all your app classes against the new struts.jar files?
It is not good enough to just replace the JARs.

Craig

> 500 Servlet Exception
> java.lang.IllegalArgumentException: No bean specified
> at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837)
> at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:849)
> at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729)
> at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:978)
> at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:779)
> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:246)
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
>
> I'm not sure what to make of this.. none of my code actually gets touched, and as far as I can tell the parts of my app that work correctly are configured the same as the part that breaks. Any ideas/hints/suggestions ?
>
> _______________________________
> Ivar Vasara
> Java Developer
> http://zed.cbc.ca
> (604) 662-6631
> Canadian Broadcasting Corporation
> (604) 662-6631
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

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