[jira] [Resolved] (NET-495) Unsupported record version Unknown-48.48 - commons-net-3.1.jar

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (NET-495) Unsupported record version Unknown-48.48 - commons-net-3.1.jar

Dmitri Blinov (Jira)

     [ https://issues.apache.org/jira/browse/NET-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-495.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.2

Comment says fixed in 3.2.

Please re-open if still present in 3.3-SNAPSHOT
               

> Unsupported record version Unknown-48.48 - commons-net-3.1.jar
> --------------------------------------------------------------
>
>                 Key: NET-495
>                 URL: https://issues.apache.org/jira/browse/NET-495
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.1
>         Environment: Windows XP, Windows 7, HP-UX
>            Reporter: Deepak Pant
>              Labels: commons-net-3.1.jar, ftp, ftps
>             Fix For: 3.2
>
>         Attachments: FTPSClient_Error_Dump.txt
>
>
> FTPSClient bundled in "commons-net-3.1.jar" returns "Unsupported record version Unknown-48.48" error when I try to FTP a zero byte file. This error doesn't come when we use "commons-net-2.0.jar" file.
> javax.net.ssl.SSLException: Unsupported record version Unknown-48.48
>         at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:375)
>         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:830)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:787)
>         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
>         at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>         at java.io.InputStreamReader.read(InputStreamReader.java:167)
>         at java.io.BufferedReader.fill(BufferedReader.java:136)
>         at java.io.BufferedReader.readLine(BufferedReader.java:299)
>         at java.io.BufferedReader.readLine(BufferedReader.java:362)
>         at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:310)
>         at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:290)
>         at org.apache.commons.net.ftp.FTP.getReply(FTP.java:637)
>         at org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.java:1637)
>         at org.apache.commons.net.ftp.FTPClient._storeFile(FTPClient.java:599)
>         at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:557)
>         at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1795)
>         at FTPSExample.main(FTPSExample.java:173)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira