Hi Susan.  Go to Bugzilla and look up bug #3702 and download the the last 
two attachments and build them under the struts.upload package.  This 
should get you by until the code owner for file upload submits a permanent 
patch.

At 12:20 PM 10/4/2001 -0400, you wrote:

>Hi,
>Does anybody know what I can do to resolve the following problem with the
>file upload?
>
>Summary of problem:
>I am using the struts nightly build from 10-4-2001 and java version
>"1.3.1_01".
>I have the  maxFileSize set to 10M.  The file I am loading is around 7M.
>
>The file upload works great exception for this large binary pdf file.
>When I try to upload the file I  get the follow exception:
>
>2001-10-04 11:43:17 - Ctx( /editor ): Exception in: R( /editor +
>/protected/createFundDocument.do + null) -
>java.lang.ArrayIndexOutOfBoundsException
>         at
>org.apache.struts.upload.MultipartIterator.equals(MultipartIterator.java:541)
>         at
>org.apache.struts.upload.MultipartIterator.createLocalFile(MultipartIterator.java:490)
>         at
>org.apache.struts.upload.MultipartIterator.getNextElement(MultipartIterator.java:217)
>         at
>org.apache.struts.upload.DiskMultipartRequestHandler.handleRequest(DiskMultipartRequestHandler.java:76)
>         at 
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:690)
>         at
>org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:1993)
>         at
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1496)
>         at
>org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:504)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>         at org.apache.tomcat.core.Handler.service(Handler.java:287)
>         at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
>         at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
>         at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
>         at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>         at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>         at java.lang.Thread.run(Thread.java:484)

Reply via email to