Hello,
I've been encountering this bug in my ant script:
http://sourceforge.net/tracker/index.php?func=detail&aid=1609305&group_i
d=27398&atid=390335
I've found that I can get around it by downgrading xmltask to an
earlier version: 1.11, and then adding that jar directly to the libs in
my ant directory. If I just have the jar in my path for the specific
ant task, I get the following error (which seems to be the same thing):
[xmltask] java.lang.NullPointerException
[xmltask] at
com.oopsconsultancy.xmltask.XmlReplacement.apply(XmlReplaceme
nt.java:65)
[xmltask] at
com.oopsconsultancy.xmltask.ant.XmlTask.processDoc(XmlTask.ja
va:674)
[xmltask] at
com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:
643)
[xmltask] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
<xmltask> subtasks failed to find matches
Thought I'd write this to check on the status of the bug and also on the
off-chance that this workaround helps someone.
-Rob
Practical Law Company Limited. Registered in England and Wales. Registered
Number: 02889191. Registered Office: 19 Hatfields, London SE1 8DJ. Telephone:
+44(0)20 7202 1200. http://www.practicallaw.com. DISCLAIMERS: This e-mail is
confidential to the ordinary user of the e-mail address to which it was
addressed; it may contain personal views which are not the views of PLC unless
specifically stated. If you have received it in error, please delete it from
your system and notify the sender immediately; do not use, copy or disclose the
information or otherwise use it or any part of it in any form whatsoever nor
act in reliance on it. All liability for loss or damage caused by viruses is
excluded. PLC uses the MessageLabs SkyScan service to monitor all outgoing and
incoming e-mails for viruses, prohibited file-type attachments and
inappropriate content in accordance with its Information and Communications
Systems policy. You signify your consent to these terms by any further e-mail
communication.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users