ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49400] Log statements in AbstractFileset can cause NullPointerExceptions
Date Tue, 08 Jun 2010 17:53:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49400

J.M. (Martijn) Kruithof <jkf@apache.org> changed:

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

--- Comment #3 from J.M. (Martijn) Kruithof <jkf@apache.org> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message