[ http://issues.apache.org/jira/browse/NET-84?page=all ]
Rory Winston closed NET-84. --------------------------- Fix Version/s: 2.0 Resolution: Fixed Fixed in 2.0 > [net] TelnetClient#disconnect() causes NullPointerException from Linux when > connected to Windows 2000 Telnet Server > ------------------------------------------------------------------------------------------------------------------- > > Key: NET-84 > URL: http://issues.apache.org/jira/browse/NET-84 > Project: Commons Net > Issue Type: Bug > Affects Versions: 1.1.0 > Environment: Operating System: Linux > Platform: PC > Reporter: Clark E. Archer > Fix For: 2.0 > > Attachments: disconnect_npe_patch.txt > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]