Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94979 invoked from network); 24 Sep 2003 16:21:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Sep 2003 16:21:03 -0000 Received: (qmail 85013 invoked by uid 500); 24 Sep 2003 16:20:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 84982 invoked by uid 500); 24 Sep 2003 16:20:45 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 84960 invoked from network); 24 Sep 2003 16:20:44 -0000 Received: from unknown (HELO sopragroup.com) (213.223.36.98) by daedalus.apache.org with SMTP; 24 Sep 2003 16:20:44 -0000 Received: (qmail 6970 invoked from network); 24 Sep 2003 16:20:40 -0000 Received: from Antivirus (HELO Antivirus) (Antivirus@Antivirus) by smtp1.sopragroup.com with SMTP; 24 Sep 2003 16:20:40 -0000 content-class: urn:content-classes:message Subject: RE: Error buffer size Date: Wed, 24 Sep 2003 18:20:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <4EEFACEC9255AA44B13BDC27FE31244629329D@WEXCHBE02-VS.pa.sopra> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 X-MS-TNEF-Correlator: Thread-Topic: Error buffer size Thread-Index: AcOCt7weLCsJrfiEQ4u/yW3kxcjj+g== From: "Blanchet Samuel" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm using Ant16a (08 09 2003) on W2K Pro. the Pb appears when I load an empty property file. "" Sam -----Message d'origine----- De : Antoine L=E9vy-Lambert [mailto:antoine@antbuild.com] Envoy=E9 : mercredi 24 septembre 2003 18:14 =C0 : Ant Users List Objet : AW: Error buffer size Can you give some details : - which version of ant, - which platform, - a small sample of the build file, a quick look at the code shows that this would happen if the buffer size = set in ChainReaderHelper is 0. But the default is 8192, I wonder in which circumstances this buffer size gets set or reset to 0. Do you have any custom tasks/custom filters/javascript in your build file ? Antoine -----Urspr=FCngliche Nachricht----- Von: Blanchet Samuel [mailto:sblanchet@sopragroup.com] Gesendet: Mittwoch, 24. September 2003 16:24 An: user@ant.apache.org Betreff: Error buffer size Hi all, Have you ever seen this error ? What can I do ? BUILD FAILED java.lang.IllegalArgumentException: Buffer size must be greater than 0 at org.apache.tools.ant.util.FileUtils.readFully(FileUtils.java:1096) at org.apache.tools.ant.filters.util.ChainReaderHelper.readFully ChainReaderHelper.java:267) at org.apache.tools.ant.taskdefs.LoadProperties.execute(LoadProperties.java:= 164 ) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:272) at org.apache.tools.ant.Task.perform(Task.java:401) at org.apache.tools.ant.Target.execute(Target.java:347) at org.apache.tools.ant.Target.performTasks(Target.java:374) at org.apache.tools.ant.Project.executeTarget(Project.java:1228) at = org.apache.tools.ant.Project.executeTargets(Project.java:1085) at org.apache.tools.ant.Main.runBuild(Main.java:661) at org.apache.tools.ant.Main.startAnt(Main.java:220) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:162) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:85) Thanks Sam --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org