ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14232] - Possible NullPointerException in Diagnositcs#doReport(PrintStream)
Date Mon, 04 Nov 2002 17:15:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14232>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14232

Possible NullPointerException in Diagnositcs#doReport(PrintStream)

sbailliez@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From sbailliez@apache.org  2002-11-04 17:15 -------
Thanks for spotting that. Pretty stupid code I did here...
There are more others potential code for NPE here, I'm looking into that.
- ant.home could not be defined and it would crash in creating the File
- list() can return null
- if listLib...() return null it crashes in the doReportLib...()

NPE festival here. I'm impressed by my code.

Out of curiosity how come there are no 'ant.home' defined ? It might interfer 
with forking processes AFAIK and maybe other things, I will have to check.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message