try {
d.checkContextAvailability(context);
s = d.newInstance(ps.namedArgs);
StepExecution e = s.start(context);
thread.setStep(e);
sync = e.start();
} catch (Exception e) {
if (e instanceof MissingContextVariableException)
reportMissingContextVariableException(context, (MissingContextVariableException)e);
context.onFailure(e);
s = null;