Issue Type: Improvement Improvement
Affects Versions: 5.0.0.Alpha2
Assignee: Unassigned
Components: engine, extensions
Created: 14/Jan/13 4:19 AM
Description:

When inconsistently invoking validateParameters() by passing an object and a method not defined on the object's type, an NPE in ValidatorImpl#validateParametersInContext() occurs:

ExecutableMetaData methodMetaData = beanMetaData.getMetaDataFor( validationContext.getExecutable() );
methodMetaData.assertCorrectnessOfMethodParameterConstraints();

We should throw a more meaningful exception in this case.

Project: Hibernate Validator
Priority: Minor Minor
Reporter: Gunnar Morling
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira