Re: NullPointerException when adding listener

2005-07-21 Thread Juergen Hermann
On Thu, 21 Jul 2005 11:42:15 -0700 (PDT), Matt Benson wrote: >Looks like your XmlLogger object needs -some- >configuration between instantiation and addition as a >listener. Well, in some twisted way, yes. The XmlLogger does two things: recording seen tasks in "tasks", and recording timing info.

Re: NullPointerException when adding listener

2005-07-21 Thread Matt Benson
Looks like your XmlLogger object needs -some- configuration between instantiation and addition as a listener. HTH, Matt --- Juergen Hermann <[EMAIL PROTECTED]> wrote: > Hi, the following build script which adds a listener > at runtime fails with a > NullPointerExcepton. Is this a bug, just not

NullPointerException when adding listener

2005-07-21 Thread Juergen Hermann
Hi, the following build script which adds a listener at runtime fails with a NullPointerExcepton. Is this a bug, just not possible or an error in my script? (Tested with ant 1.6.2) Test Adding Logger via Scripting Adding refer