DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28682>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28682 SocketHubAppender raised NullPointerException in cleanUp Summary: SocketHubAppender raised NullPointerException in cleanUp Product: Log4j Version: 1.3alpha Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Appender AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Scenario: the default non-arg constructor of SocketHubAppender is called (no port number specified) Port number is not read from configuration and setPort is not called. Appender cleanUp method is called and NullPointerException is raised. Cause: The cleanUp method of SocketHubAppender lacks a null check for serverMonitor. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]