You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2007/06/17 18:59:26 UTC
[jira] Resolved: (STR-3058) Form not getting populated when using
nested iterate and the scope is request
[ https://issues.apache.org/struts/browse/STR-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niall Pemberton resolved STR-3058.
----------------------------------
Resolution: Not A Problem
Please ask questions on the user mailing list. Jira is for reporting bugs in Struts - not getting help/debugging your application:
http://struts.apache.org/mail.html
> Form not getting populated when using nested iterate and the scope is request
> ------------------------------------------------------------------------------
>
> Key: STR-3058
> URL: https://issues.apache.org/struts/browse/STR-3058
> Project: Struts 1
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.3.8
> Environment: Windows XP, Apache Tomcat 6
> Reporter: Nagarjun Bodduna
>
> I am trying to display and edit a list of objects using nested iterate. However when I submit the form, the form is not getting populated causing the following exception.
> I am getting this exception when I set the scope of the action to request. However the same code is working properly when I set the scope of the action to session instead of request.
> exception
> javax.servlet.ServletException: BeanUtils.populate
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:469)
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:818)
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:194)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> root cause
> java.lang.NullPointerException
> org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:427)
> org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:340)
> org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:684)
> org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
> org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:884)
> org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:467)
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:818)
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:194)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.