You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/11/09 22:42:02 UTC

DO NOT REPLY [Bug 24539] New: - The telentclient is leaving the connection even after calling the disconnect 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=24539>.
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=24539

The telentclient is leaving the connection even after calling the disconnect properly.

           Summary: The telentclient is leaving the connection even after
                    calling the disconnect properly.
           Product: Commons
           Version: 1.1.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: knandipati@s-square.net
                CC: knandipati@s-square.net


The TelnetClient module of commons/net is leaving the connection on the server 
open even after the disconnect() is called properly. This is happening only on 
Linux but not on solaris. I am using redhat Linux 8.0 on Intel xeon. Kernel 
version 2.4.20-20.8smp.

Temporarly we are sending exit to the telnet shell, which is clearing the 
connection, but causing the null pointer exception.

==========================
login: java.lang.NullPointerException
        at java.io.BufferedInputStream.read(BufferedInputStream.java:208)
        at java.io.FilterInputStream.read(FilterInputStream.java:69)
        at java.io.PushbackInputStream.read(PushbackInputStream.java:123)
        at org.apache.commons.net.io.FromNetASCIIInputStream.__read
(FromNetASCIIInputStream.java:114)
        at org.apache.commons.net.io.FromNetASCIIInputStream.read
(FromNetASCIIInputStream.java:209)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
        at org.apache.commons.net.telnet.TelnetInputStream.__read
(TelnetInputStream.java:140)
        at org.apache.commons.net.telnet.TelnetInputStream.run
(TelnetInputStream.java:464)
        at java.lang.Thread.run(Thread.java:484)
=================================================================

Please help on this. This problem is there in 1.0.0. Recenly we downloaded 
1.1.0. this new version also has the same problem on linux. I am not sure, 
this bug is related to linux or commons-net.

Thank you for your help
Krishnarao.
knandipati@s-square.net

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org