Hi!

Thursday, April 26, 2007, 7:18:51 PM, you wrote:

MH>   I've got problems to upload a xml to cocoon. I want to transfer a
MH>   file with a simple <input type="file" name="antrag" /> and suffer a
MH>   NullPointerException.

MH>   The Exception is only visible with activated debug-filter. But when
MH>   the debug filter is deactivated, the upload doesn't work either.

MH>   I work with a snapshot-release of last night with an applied patch
MH>   to AbstractProcessingPipeline.java (reenabled
MH>   environment.setStatus(HttpServletResponse.SC_OK); )

MH>   Does anybody have an idea where to search?

The problem is solved. (At least for me ;-) )

There seems to be a bug in
org.apache.cocoon.servlet.multipart.MultipartFilter which results in
an exception, because the uploaded file is removed and disposed from
the request, before the pipeline can handle it.

I'm going to file a bug report.

regards

  Martin.

Attachment: MultipartFilter490029.patch
Description: Binary data

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

Reply via email to