maven-wagon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Updated: (WAGONFTP-2) Fix errant exception thrown in closeConnection()
Date Sat, 16 Oct 2004 04:03:24 GMT
The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Sat, 16 Oct 2004 12:02 AM
    Changes:
             Fix Version changed to 0.9
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/WAGONFTP-2?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/WAGONFTP-2

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WAGONFTP-2
    Summary: Fix errant exception thrown in closeConnection()
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: wagon-ftp
   Fix Fors:
             0.9

   Assignee: Michal Maczka
   Reporter: Jason van Zyl

    Created: Wed, 21 Apr 2004 1:27 PM
    Updated: Sat, 16 Oct 2004 12:02 AM

Description:
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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message