DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4701>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4701 NullPointerException in MultipartIterator [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Minor ------- Additional Comments From [EMAIL PROTECTED] 2001-11-16 09:42 ------- Now that I have looked a bit closer to this issue, I have to take back the statement, that this bug will "allways" show up during File-Upload. The NullPointerException is only raised in case of a premature end of the request's InputStream when the enclosing boundary is not yet found. Otherwise everything works find (see conditional in while loop in createLocalFile()). However, it was rather hard to find, that the wrapped InputStream was closed to early, since Struts worked on normally as nothing has happened (see Bug #4704) I propose to detect an invalid submitted multipart form (i.e. when a boundary is lacking) and throw an approriate exception. (And not a NullPointerException has it is now) BTW, the input stream was closed to early due to bug #3534 of Catalina's Warp Connector. So, you probably can close this bug.. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
