ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "koden (sent by Nabble.com)" <li...@nabble.com>
Subject Re: Help Running Ant Task from my Custom Task (xmltask)
Date Thu, 18 Aug 2005 20:45:11 GMT

When I do the xml_edit.execute(); I get this error:

[versionupdatetask] java.lang.NullPointerException
[versionupdatetask]     at org.apache.tools.ant.Task.log(Task.java:346)
[versionupdatetask]     at com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTa
sk.java:556)
[versionupdatetask]     at src.VersionUpdateTask.updateXML(Unknown Source)
[versionupdatetask]     at src.VersionUpdateTask.do_update(Unknown Source)
[versionupdatetask]     at src.VersionUpdateTask.execute(Unknown Source)
[versionupdatetask]     at org.apache.tools.ant.UnknownElement.execute(UnknownEl
ement.java:275)
[versionupdatetask]     at org.apache.tools.ant.Task.perform(Task.java:364)
[versionupdatetask]     at org.apache.tools.ant.Target.execute(Target.java:341)
[versionupdatetask]     at org.apache.tools.ant.Target.performTasks(Target.java:
369)
[versionupdatetask]     at org.apache.tools.ant.Project.executeSortedTargets(Pro
ject.java:1216)
[versionupdatetask]     at org.apache.tools.ant.Project.executeTarget(Project.ja
va:1185)
[versionupdatetask]     at org.apache.tools.ant.helper.DefaultExecutor.executeTa
rgets(DefaultExecutor.java:40)
[versionupdatetask]     at org.apache.tools.ant.Project.executeTargets(Project.j
ava:1068)
[versionupdatetask]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
[versionupdatetask]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
[versionupdatetask]     at org.apache.tools.ant.launch.Launcher.run(Launcher.jav
a:246)
[versionupdatetask]     at org.apache.tools.ant.launch.Launcher.main(Launcher.ja
va:67)
--
Sent from the Ant - Dev forum at Nabble.com:
http://www.nabble.com/Help-Running-Ant-Task-from-my-Custom-Task-%28xmltask%29-t235448.html#a659492

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message