[email protected]
[Top] [All Lists]

[jira] Updated: (WAGONFTP-2) Fix errant exception thrown in closeConnect

Subject: [jira] Updated: WAGONFTP-2) Fix errant exception thrown in closeConnection(
From: "Brett Porter (JIRA)"
Date: Tue, 3 Jan 2006 23:59:14 -0600 CST
     [ http://jira.codehaus.org/browse/WAGONFTP-2?page=all ]

Brett Porter updated WAGONFTP-2:

    Fix Version:     (was: 1.0-alpha-5)

> Fix errant exception thrown in closeConnection()
> ------------------------------------------------
>          Key: WAGONFTP-2
>          URL: http://jira.codehaus.org/browse/WAGONFTP-2
>      Project: wagon-ftp
>         Type: Bug

>     Reporter: Jason van Zyl
>     Assignee: Michal Maczka
>      Fix For: 1.0-alpha-6

> Fix errant exception thrown in closeConnection() of the ftp wagon which is 
> caused by calling ftp.disconnect(). Nothing wrong seems to happen in the 
> test. But this is what we get:
> java.lang.NullPointerException
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:205)
>         at java.io.FilterInputStream.read(FilterInputStream.java:66)
>         at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
>         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:183)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
>         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:534)
> But it seems to happen even if we don't shut down the streams so I'm not sure 
> what's going on internally in commons-net.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

<Prev in Thread] Current Thread [Next in Thread>