prevent NPE
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user