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 32308] New: - Nullpointer exception in Execute::spawn() when using the class directly
Date Fri, 19 Nov 2004 09:32:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32308>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32308

           Summary: Nullpointer exception in Execute::spawn() when using the
                    class directly
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: viz@zmail.sk


I use the Execute class directly from my app, i.e. new exec = new Execute( );
exec.exec....  Ant version 1.6.2 

exec.spawn() throws 
java.lang.NullPointerException
at org.apache.tools.ant.taskdefs.Execute.spawn(Execute.java:526)

The problem:
The process gets spawned, but after this the method wants to log something using
project.log(... which is of course null! 
All other methods are resistent to project=null.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message