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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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.
[EMAIL PROTECTED]

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

Reply via email to