cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject MultipartParser.java:132: Malformed stream
Date Tue, 15 Nov 2005 09:39:33 GMT
Hi Cocoon devs,

we're experiencing a file upload problem which occurs occasionally:

1581402 2005-11-14 18:14:48,082 [TP-Processor6] ERROR 
access.service():1035  -
Problem with Cocoon servlet
org.apache.cocoon.servlet.multipart.MultipartException: Malformed stream
at org.apache.cocoon.servlet.multipart.MultipartParser.parseMultiPart
(MultipartParser.java:132)
at org.apache.cocoon.servlet.multipart.MultipartParser.getParts 
(MultipartParser.java:101)
...

The code snippet in question is:

         while (ts.getState() == TokenStream.STATE_NEXTPART) {
             ts.nextPart();
             parsePart(ts);
         }

         if (ts.getState() != TokenStream.STATE_ENDMULTIPART) {
             // sanity check
[*]         throw new MultipartException("Malformed stream");
         }



Setup:

- httpd as proxy
- Tomcat 5.5.9
- Cocoon 2.1.7

Is this a known issue?
Google pointed me to

http://mail-archives.apache.org/mod_mbox/cocoon-dev/200411.mbox/%3Ccm85jo$pus$1@sea.gmane.org%3E

Maybe this is the same problem?

Thanks in advance!
Andreas


Mime
View raw message