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 {
if (Double.isNaN(vd)) {
continue;
}
// Add value
stats.addValue(vd);
globalStats.addValue(vd);
// Add valuer
if(stats != null)
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