incubator-ftpserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas FROMENT (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FTPSERVER-61) Mina Port : Exception when storing a file with special caracter
Date Fri, 19 Jan 2007 08:31:30 GMT

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

Nicolas FROMENT updated FTPSERVER-61:
-------------------------------------

    Attachment: ça.txt

> Mina Port : Exception when storing a file with special caracter
> ---------------------------------------------------------------
>
>                 Key: FTPSERVER-61
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-61
>             Project: FtpServer
>          Issue Type: Bug
>         Environment: Server on Linux RedHat, jre 1.4.2_10. Client FTPclient jakarta commons
net 
>            Reporter: Nicolas FROMENT
>         Attachments: ça.txt
>
>
> When trying to store a file named "ça.txt" on a ftpserver running with a MinaListener
I got an the following stack trace :
> org.apache.mina.filter.codec.ProtocolDecoderException: java.nio.charset.MalformedInputException:
Input length = 1 (Hexdump: E7 61 2E 74 78 74 0D 0A)
>         at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:168)
>         at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
>         at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
>         at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
>         at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:243)
>         at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.nio.charset.MalformedInputException: Input length = 1
>         at java.nio.charset.CoderResult.throwException(CoderResult.java:260)
>         at org.apache.mina.common.ByteBuffer.getString(ByteBuffer.java:1036)
>         at org.apache.ftpserver.listener.mina.FtpRequestDecoder.decode(FtpRequestDecoder.java:38)
>         at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:157)
>         ... 8 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message