You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2008/08/26 08:31:44 UTC

[jira] Closed: (FTPSERVER-169) Run time error in org.apache.ftpserver.Daemon.class, it lead to service ftpd cannot be started.

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

Niklas Gustavsson closed FTPSERVER-169.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-M3
         Assignee: Niklas Gustavsson

Fixed in trunk, thanks!

svn commit "/media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/main/Daemon.java" -m "NPE in daemon (FTPSERVER-169)" --username "ngn"
	M /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/main/Daemon.java
	  Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/main/Daemon.java
Committed revision 688969

> Run time error in org.apache.ftpserver.Daemon.class, it lead to service ftpd cannot be started.
> -----------------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-169
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-169
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-M2
>         Environment: Windows 2003 Enterprise Server with Service Pack 1 32 bit ,Java sdk 6 update 7.
>            Reporter: Qiu Yue
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M3
>
>
> May be I found a mistake in org.apache.ftpserver.main.Daemon.java,line 44, I think it should be "server = getConfiguration(args);" instead of "FtpServer server = getConfiguration(args);".
> I executed command "service install" on <ftpd_home>\bin and the command running success but the service ftpd cannot be started,folowing information were logged into res\log\ftpd.log when I trying to start ftpd:
> [ INFO] 2008-08-25 15:24:06,180 [anonymous] [192.168.9.78] CLOSED
> [ INFO] 2008-08-25 15:25:28,755 [] [] Using default configuration....
> [ INFO] 2008-08-25 15:25:29,098 [] [] Starting FTP server daemon
> [ERROR] 2008-08-25 15:25:29,098 [] [] Daemon error
> java.lang.NullPointerException
> 	at org.apache.ftpserver.main.Daemon.main(Daemon.java:59)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.