You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Martin Wunderlich (JIRA)" <ji...@apache.org> on 2016/10/10 06:18:20 UTC

[jira] [Commented] (FTPSERVER-461) FtpServer implement inputClosed() or extend IoHandlerAdapter for MINA 2.0.8 or higher

    [ https://issues.apache.org/jira/browse/FTPSERVER-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15561420#comment-15561420 ] 

Martin Wunderlich commented on FTPSERVER-461:
---------------------------------------------

Hi all, I am wondering, if this bug is still on the road map for one of the upcoming FTPServer releases? We have run into the same problem and had to downgrade MINA from 2.0.13 to 2.0.8. We could fix it by creating a patched local build of the lib, but I'd very much prefer, if this were fixed in the core project. 

> FtpServer implement inputClosed() or extend IoHandlerAdapter for MINA 2.0.8 or higher
> -------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-461
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-461
>             Project: FtpServer
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.6
>            Reporter: Ulrich Kohlhase
>
> According to the Apache MINA release notes for v2.0.8:
> "There is one change that might break the build for those switching from MINA 2.0.7 to MINA 2.0.8 : the IoHandler interface now has a method called inputClosed(), so either you have to implement this method if you are directly implementing the IoHandler interface, or better, you can extends IoHandlerAdapter, which implements a placeholder for this method."
> ERROR org.apache.ftpserver.impl.DefaultFtpHandler  - Exception caught, closing session
> WARN  org.apache.ftpserver.listener.nio.FtpLoggingFilter  - EXCEPTION :
> AbstractMethodError: org.apache.ftpserver.listener.nio.FtpHandlerAdapter.inputClosed(Lorg/apache/mina/core/session/IoSession;)V
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.inputClosed(DefaultIoFilterChain.java:834)
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextInputClosed(DefaultIoFilterChain.java:611)
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:48)
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.inputClosed(DefaultIoFilterChain.java:938)
>   at org.apache.mina.core.filterchain.IoFilterAdapter.inputClosed(IoFilterAdapter.java:137)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)