Fixed
Details
Assignee
Guillaume SmetGuillaume SmetReporter
Andreas BennekeAndreas BennekeBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Andreas BennekeGuillaume SmetComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Guillaume Smet
Guillaume SmetReporter
Andreas Benneke
Andreas BennekeBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Andreas Benneke
Guillaume Smet
Components
Fix versions
Affects versions
Priority
Created April 30, 2018 at 11:22 AM
Updated May 15, 2018 at 11:16 AM
Resolved May 3, 2018 at 1:08 PM
If JPA is on the classpath, HV uses a default TraversableResolver to handle non-initialized JPA proxies properly.
However creation of this
JPATraversableResolver
fails withjava.lang.IllegalAccessException: Class org.hibernate.validator.internal.util.privilegedactions.NewInstance can not access a member of class org.hibernate.validator.internal.engine.resolver.JPATraversableResolver with modifiers ""
which is logged only on debug-level and the implementation continues with the
TraverseAllTraversableResolver
.Please find simple test case here https://github.com/abenneke/sandbox/tree/master/hibernate-validator-traversable