Did any of you encountered the same kind of problems?
Please any help is welcome.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 7/6/2005 2:37 PM
To: user@ant.apache.org
Subject: [ant-contrib] AntPerformanceListener problem:NullPointerException
 

Hello guys,
I am experiecing the following problem:
i am runing my ant scripts with the following option:
 -listener net.sf.antcontrib.perf.AntPerformanceListener.
When running my script with the default target everything is fine.
When running my script with some targets passed on command line i get the 
following error message:

BUILD SUCCESSFUL
Total time: 0 seconds
java.lang.NullPointerException
        at 
net.sf.antcontrib.perf.AntPerformanceListener.buildFinished(AntPerformanceListener.java:106)
        at org.apache.tools.ant.Project.fireBuildFinished(Project.java:1848)
        at org.apache.tools.ant.Main.runBuild(Main.java:688)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

The line incriminated in AntPerformanceListener.java is:
 if ( target.getProject().getName() != null )


Thanks for any help/clue!


This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.




This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to