ObjectUtil.inject enhanced for validation and error handling