ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hind.lwahh...@accenture.com>
Subject RE: [ant-contrib] AntPerformanceListener problem:NullPointerException
Date Thu, 07 Jul 2005 08:09:47 GMT

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

-----Original Message-----
From: hind.lwahhabi@accenture.com [mailto:hind.lwahhabi@accenture.com]
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message