struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma3har <sma3...@yahoo.com>
Subject error while submitting form
Date Tue, 01 Nov 2005 15:58:29 GMT
Hi,

I am getting this following error when i try to submit
the form that iterates over arraylist of objects.
Please help me with this error.

Nov 01 09:45:55 2005: Servlet action: unable to
service request: BeanUtils.populate
Nov 01 09:45:55 2005: javax.servlet.ServletException:
BeanUtils.populate

	at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)

	at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)

	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)

	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

	at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
com.sybase.jaguar.servlet.JagServlet.service(JagServlet.java:655)

	at
com.sybase.jaguar.servlet.JagRequestDispatcher.service(JagRequestDispatcher.java:922)

	at
com.sybase.jaguar.servlet.JagWebResource.service(JagWebResource.java:90)

	at
com.sybase.jaguar.servlet.JagFilterChain.doFilter(JagFilterChain.java:131)

	at
com.sybase.jaguar.servlet.ServletEngine._service(ServletEngine.java:812)

	at
com.sybase.jaguar.servlet.ServletEngine.service(ServletEngine.java:339)

	at
com.sybase.jaguar.servlet.ServletServiceImpl.doService(ServletServiceImpl.java:52)

	at
com.sybase.jaguar.servlet._sk_JaguarServlet_ServletService.invoke(_sk_JaguarServlet_ServletService.java:151)


Nov 01 09:45:55 2005: The ServletException contained
the following root cause exception:
Nov 01 09:45:55 2005:
org.apache.commons.beanutils.ConversionException:
Cannot assign value of type 'java.lang.String' to
property 'details' of type 'java.util.ArrayList'

	at
org.apache.struts.action.DynaActionForm.set(DynaActionForm.java:423)

	at
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1769)

	at
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)

	at
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)

	at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)

	at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)

	at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)

	at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)

	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)

	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

	at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
com.sybase.jaguar.servlet.JagServlet.service(JagServlet.java:655)

	at
com.sybase.jaguar.servlet.JagRequestDispatcher.service(JagRequestDispatcher.java:922)

	at
com.sybase.jaguar.servlet.JagWebResource.service(JagWebResource.java:90)

	at
com.sybase.jaguar.servlet.JagFilterChain.doFilter(JagFilterChain.java:131)

	at
com.sybase.jaguar.servlet.ServletEngine._service(ServletEngine.java:812)

	at
com.sybase.jaguar.servlet.ServletEngine.service(ServletEngine.java:339)

	at
com.sybase.jaguar.servlet.ServletServiceImpl.doService(ServletServiceImpl.java:52)

	at
com.sybase.jaguar.servlet._sk_JaguarServlet_ServletService.invoke(_sk_JaguarServlet_ServletService.java:151)





	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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


Mime
View raw message