AntPerformanceListener exception

Help
Yed
2004-04-06
2013-04-24
  • Yed

    Yed - 2004-04-06

    I have the error message:
    BUILD SUCCESSFUL
    Total time: 3 minutes 32 seconds
    java.lang.NullPointerException
            at net.sf.antcontrib.perf.AntPerformanceListener.buildFinished(Unknown Source)
            at org.apache.tools.ant.Project.fireBuildFinished(Project.java:1797)
            at org.apache.tools.ant.Main.runBuild(Main.java:652)
            at org.apache.tools.ant.Main.startAnt(Main.java:183)
            at org.apache.tools.ant.Main.start(Main.java:147)
            at org.apache.tools.ant.Main.main(Main.java:230)

    I checked my CLASSPATH (using ANT1.6.1) and ANT-CONTRIB0.6, and everything looks good

    I use the following:
    ${JAVA_HOME}/bin/java -cp $CLASSPATH -Xms1024m -Xmx2048m org.apache.tools.ant.Main  \     -buildfile ${IDEA_CC}/${rep}/aop_deployment/bin/tools/deploy_r2.xml \     -Dprop=${IDEA_INSTALL}/idea.properties \     -Doverwrite=${toto} \     -Dsqldebut=${sqlt} \     -Dsqlfin=${sqlf} \     -Dccdistrib=${rep} -Dccview=$1 \     -Dthetarget=$2 ${zenocts} \     -Dtheenv=$1 \     -Dperformance.log=${IDEA_INSTALL}/performance.log \     -listener net.sf.antcontrib.perf.AntPerformanceListener \     deploy

    Thank you for any assistance

     
    • pWiedeking

      pWiedeking - 2004-10-01

      I have the same problem.

      I have a lot of ANTCALL Tasks in my Build File.
      When I only monitor a simple Build File it works.

      A fix for this could help improve my build a lot.

      thanx in advance.

      Peter

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks