ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritchie <ganesh.devaraj...@baml.com>
Subject Re: java.lang.NullPointerException
Date Thu, 18 Nov 2010 19:53:48 GMT

verup is a macrodef...

Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: changes.xml
Detected Java version: 1.6 in: C:\Program Files\Java\jre6
Detected OS: Windows XP
parsing buildfile C:\apache-ant-1.7.0\bin\changes.xml with URI =
file:/C:/apache
-ant-1.7.0/bin/changes.xml
Project base dir set to: C:\apache-ant-1.7.0\bin
Build sequence for target(s) `full' is [p4properties, run, p4changes,
setversion
, full]
Complete build sequence is [p4properties, run, p4changes, setversion, full,
]

p4properties:
[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apach
e/tools/ant/antlib.xml. It could not be found.

run:

p4changes:
     [exec] Current OS is Windows XP
     [exec] Output redirected to property: Version
     [exec] Executing 'C:\Program Files\Perforce\p4.exe' with arguments:
     [exec] 'changes'
     [exec] '-m1'
     [exec]
'C:\nbkoldy_rp_all_new\RPCA\main\rpcacode\services\Math\web\Data\Ver
sion.xml'
     [exec]
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.

setversion:
     [echo] Change 669228 on 2010/10/14 by nbd3f4d@nbd3f4d_rpca_1.0
'DESCRIPTION
: <enter description'
    [verup] 2010.11.18 14:49:02 - INFO - [ CompileXMLTask-main ] - Updating
Vers
ion in
-C:\nbkoldy_rp_all_new\RPCA\main\rpcacode\services\Math\web\Data\Version.
xml

BUILD FAILED
C:\apache-ant-1.7.0\bin\changes.xml:34: java.lang.NullPointerException
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:115)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.NullPointerException
        at openworks.ant.UpdateVersion.execute(UpdateVersion.java:73)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
        ... 11 more
--- Nested Exception ---
java.lang.NullPointerException
        at openworks.ant.UpdateVersion.execute(UpdateVersion.java:73)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 0 seconds
-- 
View this message in context: http://ant.1045680.n5.nabble.com/java-lang-NullPointerException-tp3271316p3271394.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message