@Override public void start(BuildableItem project, boolean newInstance) { super.start(project, newInstance); XTriggerLog log = new XTriggerLog(new StreamTaskListener(new NullStream())); Node pollingNode = getPollingNode(log); if (pollingNode == null) { log.info("Can't find any complete active node."); log.info("Checking again in next polling schedule."); log.info("Waiting for next schedule."); offlineSlaveOnStartup = true; return; } if (pollingNode.getRootPath() == null) { log.info("The running slave might be offline at the moment."); log.info("Waiting for next schedule."); offlineSlaveOnStartup = true; return; } try { start(pollingNode, project, newInstance, log); } catch (XTriggerException xe) { LOGGER.log(Level.SEVERE, "Can't initialize trigger", xe); } }