prevent NPE

This commit is contained in:
Thomas Peetz
2025-01-08 08:05:09 +01:00
parent fe407d6d89
commit faa1d73eea
@@ -54,7 +54,7 @@ public class MetaDataService {
log.debug("columnModifier has to be changed to {}", columnModifier);
column.setColumnModifier(columnModifier);
}
if (!column.getIsShown().equals(isShown)) {
if (isShown != null && !isShown.equals(column.getIsShown())) {
log.debug("isShown has to be change to {}}", isShown);
column.setIsShown(isShown);
}