check null values before fetching columns in PublishReportCommand
@@ -387,6 +387,7 @@ public class PublishReportCommand extends WorksheetCommand {
List<Node> columnNodes = new ArrayList<>();
for(String hNodeId: hNodeIdList) {
Node columnNode = alignment.getNodeById(hNodeId);
+ if(columnNode != null)
columnNodes.add(columnNode);
}
Collections.sort(columnNodes, new Comparator<Node>() {
