ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: Error buffer size
Date Wed, 24 Sep 2003 16:14:29 GMT
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


Mime
View raw message