Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-461

FtpServer implement inputClosed() or extend IoHandlerAdapter for MINA 2.0.8 or higher

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.6
    • 1.1.0
    • Core
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ukohlhase Ulrich Kohlhase
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: