checking if beandescriptor is null

If the parameter does not have any constraint, the returned BeanDescriptor is null...