From user-return-37133-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Sep 24 16:15:41 2003 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 91072 invoked from network); 24 Sep 2003 16:15:40 -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:15:40 -0000 Received: (qmail 76097 invoked by uid 500); 24 Sep 2003 16:15:24 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 76067 invoked by uid 500); 24 Sep 2003 16:15:24 -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 76054 invoked from network); 24 Sep 2003 16:15:23 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 24 Sep 2003 16:15:23 -0000 Received: from D2CFT80J (localhost.localdomain [127.0.0.1]) (authenticated) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id h8OGFId17168 for ; Wed, 24 Sep 2003 18:15:25 +0200 From: =?iso-8859-1?Q?Antoine_L=E9vy-Lambert?= To: "Ant Users List" Subject: AW: Error buffer size Date: Wed, 24 Sep 2003 18:14:29 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <4EEFACEC9255AA44B13BDC27FE31244629329B@WEXCHBE02-VS.pa.sopra> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal 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 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üngliche 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