Node hideNode = null;
if (hideModel == null) {
LOGGER.warn("Impossible to dettach a model because hideModel is null");
} else {
hideModel.doHideView(wave);
hideNode = hideModel.getRootNode();
if (hideNode == null) {
LOGGER.warn("Impossible to dettach model {} because the node is null", hideModel.getClass().getSimpleName());
} else {