You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/11/04 18:15:30 UTC
DO NOT REPLY [Bug 14232] -
Possible NullPointerException in Diagnositcs#doReport(PrintStream)
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>