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=26296>.
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=26296

TelnetClient#disconnect() causes NullPointerException from Linux when connected to 
Windows 2000 Telnet Server

           Summary: TelnetClient#disconnect() causes NullPointerException
                    from Linux when connected to Windows 2000 Telnet Server
           Product: Commons
           Version: 1.1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Net
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When calling TelnetClient#disconnect(), a NullPointerException is thrown because
either __input or __output is already null.  After fixing my working copy of the
source, an additional NPE is thrown in SocketClient#disconnect() because the
_socket_ variable is already null.  I've patched both files to check for null of
the affected intasnce variables before calling the close() methods and will be
submitting a patch.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to