Object id_obj = _id.resolveValue(context);
if (id_obj == null)
throw new StepExecutionError("id source resolved to null");
else if (!(id_obj instanceof String))
LOG.warn("id source did not resolve to a string. using toString() = " + id_obj.toString());
<BUG>ContainsStep resource = _project.findResource(id_obj.toString(), ContainsStep.class);
</BUG>
if (resource == null)
throw new StepExecutionError("unable to locate id " + id_obj.toString());
StepConfiguration step = resource.getStep();

Object id_obj = _id.resolveValue(context);
if (id_obj == null)
throw new StepExecutionError("id source resolved to null");
else if (!(id_obj instanceof String))
LOG.warn("id source did not resolve to a string. using toString() = " + id_obj.toString());
ContainsStep resource = _project.getResource(_project.findResource(id_obj.toString(), ContainsStep.class));
if (resource == null)
throw new StepExecutionError("unable to locate id " + id_obj.toString());
StepConfiguration step = resource.getStep();
