@Override public RootNode getRootNode() { RootNode rootNode = null; try { rootNode = delegateBidib.getRootNode(); } catch (Exception ex) { LOGGER.warn("Get the root node failed.", ex); } if (rootNode != null) { String nodeAddress = NodeUtils.formatAddress(rootNode.getAddr()); SimulatorNode simulator = SimulatorRegistry.getInstance().getSimulator(nodeAddress); if (simulator == null) { LOGGER.warn("No simulator configured for the root node."); } } else { LOGGER.error("The root node is not available."); } return rootNode; }