Hi, My cvstagdiff task fails with a NullPointerException - just after it has completed the recursive rdiff. Output and task below. Any ideas?
Thanks.. Apache Ant version 1.5.1 compiled on October 2 2002 Buildfile: DocStarJUnit.xml Detected Java version: 1.3 in: /usr/jdk1.3.1_06/jre Detected OS: Linux parsing buildfile DocStarJUnit.xml with URI = file:/home/build/Build_Folder/ant_scripts/DocStarJUnit.xml Project base dir set to: /home/build/Build_Folder/ant_scripts Build sequence for target `tagdiff' is [tagdiff] Complete build sequence is [tagdiff, javac, start_logging, clean_cvs_output_dir, get_files, unittest, javadoc, stop_logging, run] tagdiff: [cvstagdiff] Cvs command is rdiff -s -r docstar_build_1 -r docstar_build_2 bol-common [cvs] Using cvs passfile: /root/.cvspass [cvs] Executing 'cvs' with arguments: [cvs] '-d:pserver:[EMAIL PROTECTED]:/home/cvs/BuildOnline_Repository' [cvs] 'rdiff' [cvs] '-s' [cvs] '-r' [cvs] 'docstar_build_1' [cvs] '-r' [cvs] 'docstar_build_2' [cvs] 'bol-common' [cvs] [cvs] The ' characters around the executable and arguments are [cvs] not part of the command. [cvs] [cvs] [cvs] environment: [cvs] [cvs] PWD=/home/build/Build_Folder/ant_scripts [cvs] REMOTEHOST=10.x.x.x [cvs] HOSTNAME=x [cvs] LD_LIBRARY_PATH=/usr/jdk1.3.1_06/jre/lib/i386:/usr/jdk1.3.1_06/jre/lib/i386/ native_threads/:/usr/jdk1.3.1_06/jre/lib/i386/client:/usr/jdk1.3.1_06/jre/.. /lib/i386 [cvs] QTDIR=/usr/lib/qt-2.3.1 [cvs] CLASSPATH=/usr/java/lib:.:/opt/ant/jakarta-ant-1.5.1/lib:/opt/ant/jakarta-an t-1.5.1/lib/NetComponents.jar:/opt/ant/jakarta-ant-1.5.1/lib/mail.jar:/opt/a nt/jakarta-ant-1.5.1/lib/activation.jar:/home/build/Build_Folder/Java/lib:/u sr/java/jre/libr:/opt/ant/jakarta-ant-1.5.1/lib/junit.jar:/opt/ant/jakarta-a nt-1.5.1/lib/src.jar:/opt/ant/jakarta-ant-1.5.1/lib/xalan.jar:/opt/junit3.8. 1 [cvs] LESSOPEN=|/usr/bin/lesspipe.sh %s [cvs] APPHOME=/usr/jdk1.3.1_06 [cvs] KDEDIR=/usr [cvs] JREHOME=/usr/jdk1.3.1_06/jre [cvs] USER=build [cvs] LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40; 33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=0 1;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31: *.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01; 31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*. gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: [cvs] MACHTYPE=i386-redhat-linux-gnu [cvs] KDE_MULTIHEAD=false [cvs] MAIL=/var/spool/mail/build [cvs] INPUTRC=/etc/inputrc [cvs] GTK_RC_FILES=/etc/gtk/gtkrc:/home/build/.gtkrc [cvs] LANG=en_GB [cvs] JAVA_HOME=/usr/java [cvs] COLORTERM= [cvs] DISPLAY=x:0.0 [cvs] LOGNAME=build [cvs] SHLVL=5 [cvs] SESSION_MANAGER=local/x:/tmp/.ICE-unix/5826 [cvs] SHELL=/bin/bash [cvs] HOSTTYPE=i386 [cvs] QT_XFT=0 [cvs] OSTYPE=linux-gnu [cvs] HISTSIZE=1000 [cvs] TERM=xterm [cvs] HOME=/root [cvs] PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/ant/jakarta-ant-1.5.1/ bin:/usr/java/bin:/home/build/bin [cvs] NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat [cvs] XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt [cvs] CVS_PASSFILE=/root/.cvspass [cvs] cvs server: Diffing bol-common [cvs] cvs server: Diffing bol-common/config [cvs] cvs server: Diffing bol-common/lib [cvs] cvs server: Diffing bol-common/src [cvs] cvs server: Diffing bol-common/src/com [cvs] cvs server: Diffing bol-common/src/com/buildonline [cvs] cvs server: Diffing bol-common/src/com/buildonline/common [cvs] cvs server: Diffing bol-common/src/com/buildonline/common/exception [cvs] cvs server: Diffing bol-common/src/com/buildonline/common/logging [cvs] cvs server: Diffing bol-common/src/com/buildonline/common/logging/impl [cvs] cvs server: Diffing bol-common/src/com/buildonline/common/persistence [cvs] cvs server: Diffing bol-common/src/com/buildonline/common/persistence/transaction BUILD FAILED java.lang.NullPointerException at org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff.getHeaderLength(CvsTagDiff.j ava:428) at org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff.parseRDiff(CvsTagDiff.java:3 54) at org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff.execute(CvsTagDiff.java:326) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.Project.executeTargets(Project.java:1250) at org.apache.tools.ant.Main.runBuild(Main.java:610) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) Total time: 4 seconds java.lang.NullPointerException at org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff.getHeaderLength(CvsTagDiff.j ava:428) at org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff.parseRDiff(CvsTagDiff.java:3 54) at org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff.execute(CvsTagDiff.java:326) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.Project.executeTargets(Project.java:1250) at org.apache.tools.ant.Main.runBuild(Main.java:610) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) <cvstagdiff cvsRoot=":pserver:${cvs_account}@10.x.x.x:/home/cvs/BuildOnline_Repository" destfile="/opt/webdocs/tagdiff/tagdiff-common.xml" package="bol-common" startTag="${cvs_starttag}" endTag="${cvs_currenttag}" /> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>