ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Surry <>
Subject ant-contrib Performance Monitor listener crashes in some cases (parallel?)
Date Tue, 14 Sep 2004 18:05:26 GMT
I've been trying to use the ant-contrib Performance Monitor listener, which 
seems very handy.  But I am getting NullPointerExceptions in some cases - 
indeed even with the same build script, some targets and some initial 
conditions will build fine, other times I'll get a failure as below.  I am 
using the <parallel> container in the case where it dies, don't know if that's 
the issue?  Before I spend too much time trying to figure it out I wondered if 
others had encountered it.

I am using Ant 1.6.1 and ant-contrib-1.0b1 (same issue with ant-contrib-0.6)

Patrick corresponds (I think) to this code - could 
target.getProject() return null somehow? (I am looking at CVS at


             if ( target.getProject().getName() != null )
                 sb.append( target.getProject().getName() ).append( "." );

         at net.sf.antcontrib.perf.AntPerformanceListener.buildFinished(AntPerfor
exiting with status 1

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message