You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/10/07 19:38:37 UTC

DO NOT REPLY [Bug 13372] New: - NPE's from StreamPumper

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>