#fixed code
                             private void reportExecution(String name, ExecutionMetric execution, long timestamp) throws IOException {
		send(MetricRegistry.name(prefix, name, "count"), format(execution.counterMetric.lastCount), timestamp);

		send(MetricRegistry.name(prefix, name, "min"), format(execution.histogramMetric.min), timestamp);
		send(MetricRegistry.name(prefix, name, "max"), format(execution.histogramMetric.max), timestamp);
		send(MetricRegistry.name(prefix, name, "mean"), format(execution.histogramMetric.mean), timestamp);
		for (Entry<Double, Long> pct : execution.histogramMetric.pcts.entrySet()) {
			send(MetricRegistry.name(prefix, name, format(pct.getKey()).replace('.', '_')), format(pct.getValue()),
					timestamp);
		}
	}
#vulnerable code 
                             private void reportExecution(String name, ExecutionMetric execution, long timestamp) throws IOException {
		send(MetricRegistry.name(prefix, name, "count"), format(execution.counter.count), timestamp);

		send(MetricRegistry.name(prefix, name, "min"), format(execution.histogram.min), timestamp);
		send(MetricRegistry.name(prefix, name, "max"), format(execution.histogram.max), timestamp);
		send(MetricRegistry.name(prefix, name, "mean"), format(execution.histogram.mean), timestamp);
		for (Entry<Double, Long> pct : execution.histogram.pcts.entrySet()) {
			send(MetricRegistry.name(prefix, name, format(pct.getKey()).replace('.', '_')), format(pct.getValue()),
					timestamp);
		}
	} 
                            #location 8 
                            #vulnerability type NULL_DEREFERENCE