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 2001/12/20 16:34:03 UTC
DO NOT REPLY [Bug 5538] New: -
XmlLogger does not initialize doc properly
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=5538>.
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=5538
XmlLogger does not initialize doc properly
Summary: XmlLogger does not initialize doc properly
Product: Ant
Version: 1.4.1
Platform: All
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Other
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: sh@blsun.com
The XmlLogger class initializes the Document member variable doc inside the
buildStarted() method. This is NOT guaranteed to be the first logging method
called therefore when doc is referenced we get a null pointer exception.
Please instantiate doc inside the XmlLogger constructor.
Thanks.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>