Can you identify which particluar indexed property its trying to populate?

I'd start by debuging it by showing the request parameters that are being
submitted with the different browsers and the length of the indexed property
before it tries to populate.

Niall

----- Original Message ----- 
From: "Bjørn T Johansen" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 26, 2004 8:10 AM
Subject: BeanUtils.populate exception?


> I have a filter in my webapp, that sometimes generates an exception like
this..:
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
from fulfilling
> this request.
>
> exception
>
> javax.servlet.ServletException: BeanUtils.populate
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
>
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:821)
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> com.havleik.dt.framework.filter.AuthFilter.doFilter(AuthFilter.java:83)
>
>
> root cause
>
> java.lang.ArrayIndexOutOfBoundsException
> java.lang.reflect.Array.get(Native Method)
>
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.
java:525)
>
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.
java:428)
>
org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.j
ava:770)
>
org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:80
1)
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:881)
> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
>
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:821)
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> com.havleik.dt.framework.filter.AuthFilter.doFilter(AuthFilter.java:83)
>
>
> This happens when I call the chain.doFilter method to pass the response
on..
> But this happens when using IE, I can't seem to get the same exception
when using Firefox...
>
> Anyone know why this happens?
>
>
> Regards,
>
> BTJ
>
> -- 
> --------------------------------------------------------------------------
---------------------
> Bjørn T Johansen (BSc,MNIF)
> [EMAIL PROTECTED]
> --------------------------------------------------------------------------
---------------------
> Someone wrote:
> "I understand that if you play a Windows CD backwards you hear strange
Satanic messages"
> To which someone replied:
> "It's even worse than that; play it forwards and it installs Windows"
> --------------------------------------------------------------------------
---------------------
>
> ---------------------------------------------------------------------
> 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