checking if beandescriptor is null

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