You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marcus Bates (JIRA)" <ji...@codehaus.org> on 2009/07/09 23:15:23 UTC
[jira] Created: (WAGON-275) CLONE -Fix errant exception thrown in
closeConnection()
CLONE -Fix errant exception thrown in closeConnection()
-------------------------------------------------------
Key: WAGON-275
URL: http://jira.codehaus.org/browse/WAGON-275
Project: Maven Wagon
Issue Type: Bug
Components: wagon-ftp
Reporter: Marcus Bates
Assignee: Carlos Sanchez
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: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (WAGON-275) CLONE -Fix errant exception thrown in
closeConnection()
Posted by "Marcus Bates (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Bates closed WAGON-275.
------------------------------
Resolution: Not A Bug
> CLONE -Fix errant exception thrown in closeConnection()
> -------------------------------------------------------
>
> Key: WAGON-275
> URL: http://jira.codehaus.org/browse/WAGON-275
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ftp
> Reporter: Marcus Bates
> Assignee: Carlos Sanchez
>
> 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: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira