diff --git a/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/config/contorller/SynchronizersController.java b/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/config/contorller/SynchronizersController.java index ad49ebf57..6a8f86f35 100644 --- a/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/config/contorller/SynchronizersController.java +++ b/maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/config/contorller/SynchronizersController.java @@ -90,8 +90,12 @@ public class SynchronizersController { synchronizer.setCredentials(PasswordReciprocal.getInstance().decoder(synchronizer.getCredentials())); _logger.debug("synchronizer " + synchronizer); ISynchronizerService synchronizerService = WebContext.getBean(synchronizer.getService(),ISynchronizerService.class); - synchronizerService.setSynchronizer(synchronizer); - synchronizerService.sync(); + if(synchronizerService != null) { + synchronizerService.setSynchronizer(synchronizer); + synchronizerService.sync(); + }else { + _logger.info("synchronizer {} not exist .",synchronizer.getService()); + } } }catch(Exception e) { _logger.error("synchronizer Exception " , e);