Hi Robert, As you're no doubt aware, this is a long standing issue. I have a possible fix which I've yet to investigate, but I'm hoping to look at in the next 2 weeks. Thx for your comment and workaround, however, and watch this space!
Brian On Wed, April 25, 2007 12:15, Robert Wills wrote: > 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 > -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 ------------------------------------------------------------------------- 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