I've seen in another list someone resolving a problem like this using
ArrayList instead of the interface List
It's odd but the guy claims it worked. Maybe a bug in PropertyUtils.. don't
honestly know.
This is the link if you are interested
http://www.junlu.com/msg/45025.html


-----Messaggio originale-----
Da: Phan, Hienthuc T (Rosetta) [mailto:[EMAIL PROTECTED] 
Inviato: luned́ 17 maggio 2004 18.59
A: [EMAIL PROTECTED]
Oggetto: Indexed property throws exception - HELP!
Priorità: Alta

Hi,

I encountered an index out of bound exception when using the indexed
property.  The problem I'm facing is that I can't debug this.  The exception
is not thrown either in the the form or the action.  Do you know what cause
this?


<May 17, 2004 9:50:02 AM PDT> <Error> <HTTP> <101017>
<[ServletContext(id=4601745,name=scheduler,context-path=/scheduler)] Root
cause of ServletException
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:486)
        at java.util.ArrayList.get(ArrayList.java:302)
        at
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.
java:521)
        at
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.
java:428)
        at
org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.j
ava:770)
        at
org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:80
1)
        at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:881)
        at
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
        at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1096)
        at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:816)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5445)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3105)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2588)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>


----------------------------------------------------------------------------
--
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New
Jersey, USA 08889), and/or its affiliates (which may be known outside the
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as
Banyu) that may be confidential, proprietary copyrighted and/or legally
privileged. It is intended solely for the use of the individual or entity
named on this message.  If you are not the intended recipient, and have
received this message in error, please notify us immediately by reply e-mail
and then delete it from your system.
----------------------------------------------------------------------------
--

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to