https://bz.apache.org/bugzilla/show_bug.cgi?id=62148
Bug ID: 62148 Summary: NullPointerException in PumpStreamHandler Product: Ant Version: nightly Hardware: Macintosh Status: NEW Severity: normal Priority: P2 Component: Core Assignee: notifications@ant.apache.org Reporter: mjkim0...@hotmail.com Target Milestone: --- Hello. I have a unit test for PumpStreamHandler that throws NullPointerException as follows. public void test() { PumpStreamHandler pump = new PumpStreamHandler(); pump.start(); } public void start() { outputThread.start(); //NPE occurs errorThread.start(); if (inputThread != null) { inputThread.start(); } } I'm wondering why outputThread and errorThread are not null-checked like inputThread. Is this intentional or a bug? Thank you for your time. -- You are receiving this mail because: You are the assignee for the bug.