code: public static void setBeanProperty(final Object bean, final String name,
  			final Object value) {
  		Validate.notNull(bean, "Bean required");
  		Validate.notNull(name, "Property name required");
  
  		try {
  			BeanUtils.setProperty(bean, name, value);
  		} catch (Exception exc) {
  			throw new RuntimeException("Failed to set filter property " + name,
  					exc);
  		}
  	}
docs: Sets a property on a given bean. Due to implementation limitations you
  can not set a property to {@code null}. To {@code null} a property use
  {@link #clearBeanProperty(Object, String)}.
  
  @param bean
  @param name
  @param value
  
  @throws NullPointerException
  if bean and/or name are null