during validation, there is no reason why the call to JaxrsResourceMethod#getJavaElement() would return null.