DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28456>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28456 NullpointerException on flush() Summary: NullpointerException on flush() Product: Ant Version: 1.6.1 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The class org.apache.tools.zip.ZipOutputStream has a small error with the flush method. Here's the patch that will correct it. Regards, Tamas serveny --- ZipOutputStream.old 2004-02-12 13:33:36.000000000 +0000 +++ ZipOutputStream.java 2004-04-18 22:30:32.000000000 +0100 @@ -506,7 +506,7 @@ * @since 1.14 */ public void flush() throws IOException { - if (out == null) { + if (out != null) { out.flush(); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]