mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed NullPointerException when FTP server fails to start AND info logging is on
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2212 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -96,15 +96,14 @@ public class FTPServer
|
|||||||
filesysConfig.addServer(ftpServer);
|
filesysConfig.addServer(ftpServer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start the FTP server
|
|
||||||
|
|
||||||
|
// Start the server
|
||||||
|
if(ftpServer != null)
|
||||||
|
{
|
||||||
|
// Start the FTP server
|
||||||
if (logger.isInfoEnabled())
|
if (logger.isInfoEnabled())
|
||||||
logger.info("Starting server " + ftpServer.getProtocolName() + " ...");
|
logger.info("Starting server " + ftpServer.getProtocolName() + " ...");
|
||||||
|
|
||||||
// Start the server
|
|
||||||
|
|
||||||
if(ftpServer != null)
|
|
||||||
{
|
|
||||||
ftpServer.startServer();
|
ftpServer.startServer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user