Created attachment 29141 [details] A sample build file that serves as a test case for the bug. When expandproperties is used in a filterchain that is applied to an empty file, a NullPointerException is thrown from ExpandProperties: BUILD FAILED /home/erickson/foo/build.xml:7: java.lang.NullPointerException at org.apache.tools.ant.filters.ExpandProperties.read(ExpandProperties.java:110) The bug was introduced in /ant/core/trunk/src/main/org/apache/tools/ant/filters/ExpandProperties.java revision 1090431. The result of ParseProperties.parseProperties(String) may be null. This result must be checked for null before invoking toString() on it. This bug is not present in 1.8.2. It is present in 1.8.3 and 1.8.4.
fixed with svn revision 1372266 Thanks!