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=15198>. 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=15198 TelnetAppender: NullPointerException if SocketHandler not initialized Summary: TelnetAppender: NullPointerException if SocketHandler not initialized Product: Log4j Version: 1.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Appender AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The TelnetAppender creates an instance of an inner class called "SocketHandler". In some cases this can be null (for example, if the port is not set). As a result, it throws a NullPointerException when append() is called. To fix this problem, the "append()" method should first check to see if the variable "sh" is null before proceeding. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>