// Leverage the conversion supporting method in the
// associated {@link JXPathExpression} class
params[i] = JXPathExpression.asValue(factory,
parameters[i]);
} catch (ExpressionException e) {
throw new ValueConversionException(
"Cannot convert parameter " + i,
e);
}
} else {
throw new NullPointerException(