https://bz.apache.org/bugzilla/show_bug.cgi?id=65316
--- Comment #3 from Stanislav Šimek <stanislav.si...@siemens.com> --- Hi ant -v shows: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 Yes the files should be okay. I have checked callstack together with lines and it fits. I'm really sorry, but I do not have any sample build file. Our build is quite complex. I saw similar issue during exection of "own java ant task" that contains: (Same ant version and again parallel execution) System.out.println("some text"); 20:35:37 java.lang.NullPointerException 20:35:37 at org.apache.tools.ant.UnknownElement.handleOutput(UnknownElement.java:216) 20:35:37 at org.apache.tools.ant.Project.demuxOutput(Project.java:1283) 20:35:37 at org.apache.tools.ant.taskdefs.Ant.handleOutput(Ant.java:251) 20:35:37 at org.apache.tools.ant.taskdefs.SubAnt.handleOutput(SubAnt.java:105) 20:35:37 at org.apache.tools.ant.UnknownElement.handleOutput(UnknownElement.java:216) 20:35:37 at org.apache.tools.ant.Project.demuxOutput(Project.java:1283) 20:35:37 at org.apache.tools.ant.DemuxOutputStream.processBuffer(DemuxOutputStream.java:169) 20:35:37 at org.apache.tools.ant.DemuxOutputStream.write(DemuxOutputStream.java:144) 20:35:37 at org.apache.tools.ant.DemuxOutputStream.write(DemuxOutputStream.java:241) 20:35:37 at java.io.PrintStream.write(PrintStream.java:480) 20:35:37 at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) 20:35:37 at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) 20:35:37 at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104) 20:35:37 at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185) 20:35:37 at java.io.PrintStream.newLine(PrintStream.java:546) 20:35:37 at java.io.PrintStream.println(PrintStream.java:807) -- You are receiving this mail because: You are the assignee for the bug.