struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STR-3106) Problem with Refresh + when doing refresh, not invoking action
Date Mon, 05 Nov 2007 08:30:35 GMT

     [ https://issues.apache.org/struts/browse/STR-3106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Benedict closed STR-3106.
------------------------------

    Resolution: Not A Problem

The refresh is creating a new form. This means you need to properly initialize the size of
your arrays in the new form.

> Problem with Refresh + when doing refresh, not invoking action
> --------------------------------------------------------------
>
>                 Key: STR-3106
>                 URL: https://issues.apache.org/struts/browse/STR-3106
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.9
>         Environment: Windows Operating System
>            Reporter: vara
>            Assignee: Bill Lynch
>            Priority: Blocker
>
> I am using nested:iterate tag in my struts application.  when i am doing certain action,
the action is invoked properly. But when i am doing the refresh for the same page, its throwing
the following exceptions. 
> The application invoking the reset method of the form bean,  but it is not further invoking
the action.
> I have the Form bean with array.
> javax.servlet.ServletException: BeanUtils.populate
> 	org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)
> 	org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:816)
> 	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
> 	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> 	org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
> 	org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
> 	org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
> 	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
> 	org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
> root cause 
> java.lang.ArrayIndexOutOfBoundsException
> 	java.lang.reflect.Array.get(Native Method)
> 	org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:437)
> 	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:493)
> 	org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:816)
> 	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
> 	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
> 	org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
> 	org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
> 	org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
> 	org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
> 	org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
> 	org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
> 	org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message