ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13372] New: - NPE's from StreamPumper
Date Mon, 07 Oct 2002 17:38:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13372>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13372

NPE's from StreamPumper

           Summary: NPE's from StreamPumper
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: ville.skytta@iki.fi


I've been experiencing NPE's with Ant 1.5 in a situation where I run JBoss
started from Ant on a Linux system, and hit Control-C to terminate the JBoss
process.  Here's a stack trace, and I'll attach a patch against current CVS that
might avoid the NPE (untested).

java.lang.NullPointerException
        at java.lang.System.arraycopy(Native Method)
        at
java.io.BufferedInputStream.read1(BufferedInputStream.java:227)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:277)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at
org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:105)
        at java.lang.Thread.run(Thread.java:536)

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message