ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49400] Log statements in AbstractFileset can cause NullPointerExceptions
Date Tue, 08 Jun 2010 17:53:31 GMT

J.M. (Martijn) Kruithof <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #3 from J.M. (Martijn) Kruithof <> 2010-06-08 13:53:28 EDT
Setting the project is an explicit step in the lifecycle of each task,
therefore you should always set the project instance, also when using ant task
programatically, note that this is also valid for the Location and Target,
these items are explicitly stated in the manual.
These can be set using setProject, setLocation and setOwningTarget.

The workaround you describe actually solves a part of the bug in your code, in
such way that you are not hitting a bug anymore. Though the code still does not
obey the lifecycle of the task.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message