Commit 454ee95c authored by Julian Zobel's avatar Julian Zobel
Browse files

NPE catch/fix at DAO Output

parent 67d8cbd0
...@@ -247,9 +247,11 @@ public class MetricOutputDAO extends AbstractOutput { ...@@ -247,9 +247,11 @@ public class MetricOutputDAO extends AbstractOutput {
if (Double.isNaN(vd)) { if (Double.isNaN(vd)) {
continue; continue;
} }
// Add value // Add valuer
stats.addValue(vd); if(stats != null)
globalStats.addValue(vd); stats.addValue(vd);
if(globalStats != null)
globalStats.addValue(vd);
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment