FtpServer
  1. FtpServer
  2. FTPSERVER-340

DefaultFtpServer throws NPE on restart and lack documentation on restart not being supported

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.0.1, 1.0.2, 1.0.3
    • Fix Version/s: 1.0.4, 1.1.0
    • Component/s: Core
    • Labels:
      None

      Description

      As reported here http://markmail.org/message/isdcrary76bsbsaq, DefaultFtpServer throws an NPE when doing:
      start()
      stop()
      start()

      Restarting a stopped FtpServer is not supported, but, we should not throw an NPE. And the fact that this is not supported should be in Javadocs

        Activity

        Niklas Gustavsson created issue -
        Niklas Gustavsson made changes -
        Field Original Value New Value
        Summary DefaultFtpServer throws NPE on restart and lacka documentation on restart not being supported DefaultFtpServer throws NPE on restart and lack documentation on restart not being supported
        Hide
        Niklas Gustavsson added a comment -

        Fixed in rev 882110

        commit -m "Fixing NPE thrown when restarting a stopped FtpServer and improving Javadoc for this (FTPSERVER-340)" /Users/niklas/Documents/svn/ftpserver-1.0.x/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java /Users/niklas/Documents/svn/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java
        Sending /Users/niklas/Documents/svn/ftpserver-1.0.x/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java
        Sending /Users/niklas/Documents/svn/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java
        Transmitting file data ...
        Committed revision 882110.

        Show
        Niklas Gustavsson added a comment - Fixed in rev 882110 commit -m "Fixing NPE thrown when restarting a stopped FtpServer and improving Javadoc for this ( FTPSERVER-340 )" /Users/niklas/Documents/svn/ftpserver-1.0.x/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java /Users/niklas/Documents/svn/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java Sending /Users/niklas/Documents/svn/ftpserver-1.0.x/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java Sending /Users/niklas/Documents/svn/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/impl/DefaultFtpServer.java Transmitting file data ... Committed revision 882110.
        Niklas Gustavsson made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Niklas Gustavsson
            Reporter:
            Niklas Gustavsson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development