HV-1755 introduces NPE in org.hibernate.validator.internal.engine.ValidatorFactoryImpl constructor
We use hibernate-validator as bean validation engine together with Apache TomEE
For example with hibernate-validator:6.0.21.Final, configurationState in #ValidatorFactoryImpl(ConfigurationSate) line 151 is an instance of "org.apache.bval.jsr.ConfigurationImpl" instead of "org.hibernate.validator.internal.engine.ConfigurationImpl".
This causes a NullPointerException in line 205:
Apache Tomcat (TomEE)/9.0.37 (8.0.4)
Great. Thanks for fixing it so quickly!
Thanks for reporting it!
I just released 6.0.22.Final and 6.1.7.Final with the fix. They should be available on Maven Central tomorrow morning.
Thanks for fixing this. Regarding your comment about using Hibernate Validator configuration class: unfortunately, this is not on our plate. The initialization is done by Apache OpenEJB (TomEE):
I think you'd better use the Hibernate Validator configuration class but that's indeed a regression.
I prepared a set of PRs to fix it in all supported versions and added a test.