Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
[BZ 1687368] Prevent Globally uncaught exception if Datasource return…
Browse files Browse the repository at this point in the history
…s null value-objects
  • Loading branch information
Michael Burman committed Mar 19, 2019
1 parent 29177f5 commit cfc0d3d
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -194,6 +194,9 @@ public ListGridRecord copyValues(MetricDisplaySummary from) {
private String buildLiveValue(MetricDisplaySummary from) {
StringBuilder sb = new StringBuilder();
for (MeasurementData measurementData : liveMeasurementDataSet) {
if(measurementData.getValue() == null) {
continue;
}
if (from.getScheduleId() == measurementData.getScheduleId()) {
double doubleValue;
if (measurementData.getValue() instanceof Number) {
Expand Down

0 comments on commit cfc0d3d

Please sign in to comment.