commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Sergio de Rosa" <fder...@gmail.com>
Subject Re: FW: Struts + Commons 500 error
Date Sat, 08 Jul 2006 07:33:56 GMT
if you try with another form that uses collections tags the problem
persists?

2006/7/8, Raghuveer <raghuveerv@infotechsw.com>:
>
> It is not happening throught my web application.
> It is happening in only one page,it has form file object and display of
> collection content in actionform.
>
> -----Original Message-----
> From: Fabian Sergio de Rosa [mailto:fderosa@gmail.com]
> Sent: Saturday, July 08, 2006 12:46 PM
> To: Jakarta Commons Users List; raghuveerv@infotechsw.com
> Subject: Re: FW: Struts + Commons 500 error
>
>
> when you session expires, you say the problem. When your session expires
> the
> form that is alocaded in session is droped like every thing that is in
> your
> session, you must control or show that the session expires. or maybe you
> want to change the session's time to live.
>
> 2006/7/8, Raghuveer <raghuveerv@infotechsw.com>:
> >
> >
> > When session expires in my JSP i am getting following error.
> >
> > I am using Struts Nested tags and validator framework.
> > I am always using the collection in my actionform with Present,Empty
> tags
> > always in my JSP.
> >
> >
> > <nested:present name="testActionForm" scope="session">
> >
> <nested:notEmpty  name="testActionForm"  property="arlCollectionBeanData"
> > >
> >
> > Experts,please share your comments..!!
> >
> >
> >
> > 06/07/08 11:55:24 test: Servlet error
> > java.lang.IndexOutOfBoundsException: Index: 4, Size: 0
> >         at java.util.ArrayList.RangeCheck(Unknown Source)
> >         at java.util.ArrayList.get(Unknown Source)
> >         at
> > org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty
> > (PropertyUt
> > ilsBean.java:433)
> >         at
> > org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty
> > (PropertyUt
> > ilsBean.java:340)
> >         at
> > org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty
> > (PropertyUti
> > lsBean.java:684)
> >         at
> > org.apache.commons.beanutils.PropertyUtilsBean.getProperty
> > (PropertyUtilsBean
> > .java:715)
> >         at
> > org.apache.commons.beanutils.BeanUtilsBean.setProperty(
> BeanUtilsBean.java
> > :88
> > 4)
> >         at
> > org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java
> > :811)
> >         at org.apache.commons.beanutils.BeanUtils.populate(
> BeanUtils.java
> > :298)
> >         at org.apache.struts.util.RequestUtils.populate(
> RequestUtils.java
> > :493)
> >         at
> > org.apache.struts.action.RequestProcessor.processPopulate(
> > RequestProcessor.j
> > ava:804)
> >         at
> > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java
> > :203)
> >         at org.apache.struts.action.ActionServlet.process(
> > ActionServlet.java:1196)
> >         at org.apache.struts.action.ActionServlet.doPost(
> > ActionServlet.java:432)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at com.evermind[Oracle Application Server Containers for J2EE
> 10g
> > (9.0.4.0.0
> > )].server.http.ServletRequestDispatcher.invoke(ServletRequestDispa
> > tcher.java:765)
> >         at com.evermind[Oracle Application Server Containers for J2EE
> 10g
> > (9.0.4.0.0
> > )].server.http.ServletRequestDispatcher.forwardInternal(ServletReq
> > uestDispatcher.java:317)
> >         at com.evermind[Oracle Application Server Containers for J2EE
> 10g
> > (9.0.4.0.0
> > )].server.http.HttpRequestHandler.processRequest(HttpRequestHandle
> > r.java:790)
> >         at com.evermind[Oracle Application Server Containers for J2EE
> 10g
> > (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java
> > :270)
> >         at com.evermind[Oracle Application Server Containers for J2EE
> 10g
> > (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java
> > :112)
> >         at com.evermind[Oracle Application Server Containers for J2EE
> 10g
> > (9.0.4.0.0
> > )].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRe
> > sourcePooledExecutor.java:186)
> >         at java.lang.Thread.run(Unknown Source)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message