}
try {
config = ExtensionContext.getExtensionContext(executionContext).getResourceStack().peek();
} catch (EmptyStackException e) {
throw new SmooksException("No SmooksResourceConfiguration available in ExtensionContext stack. Unable to set SmooksResourceConfiguration property '" + actualMapTo + "' with attribute '" + attribute + "' value '" + value + "'.");
}
if (value == null) {
value = defaultValue;
}