Skip to content

Commit

Permalink
(#hotfix) Handle null QC messages
Browse files Browse the repository at this point in the history
This can happen through the QC LOOKUP flag
  • Loading branch information
squaregoldfish committed Nov 18, 2024
1 parent d1c3296 commit 2774e54
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,11 @@ private SensorValuesListValue makeNumericValue(List<SensorValue> sensorValues,
TreeSet<String> qcMessages = new TreeSet<String>();

for (SensorValue v : usedValues) {
qcMessages.add(v.getDisplayQCMessage(allSensorValues));
String message = v.getDisplayQCMessage(allSensorValues);

if (null != message) {
qcMessages.add(message);
}
}

MeanCalculator mean = new MeanCalculator(
Expand Down

0 comments on commit 2774e54

Please sign in to comment.