.getConverter(clazz);
if (converter == null) {</BUG>
throw new ConfigurationException(String.format(
NOT_SUPPORTED_CONVERTION_FMT, value, clazz.getName()));
}
<BUG>try {
result = converter.convert(value);
} catch (ConvertException ex) {
throw new ConfigurationException(String.format(
NOT_SUPPORTED_CONVERTION_FMT, value, clazz.getName()),
ex);</BUG>
}

package org.apache.jmeter.report.config;
import org.apache.jmeter.report.core.ConvertException;
import org.apache.jmeter.report.core.Converters;
public class ConfigurationUtils {
private static final String NOT_SUPPORTED_CONVERTION_FMT = "Convert \"%s\" to \"%s\" is not supported";
private ConfigurationUtils() {
}
public static <TProperty> TProperty convert(String value,
Class<TProperty> clazz) throws ConfigurationException {
try {
return Converters.convert(clazz, value);
} catch (ConvertException ex) {
throw new ConfigurationException(String.format(
NOT_SUPPORTED_CONVERTION_FMT, value, clazz.getName()));
