I use some entities of dynamic-map mode in program.
After upgrading hibernate from 5.2.13 to 5.2.14 / 5.2.15 / 5.2.16 / 5.2.17, an NPE occurs while creating SessionFactory:
The HBM file to reproduce the error:
can you please provide a failing test case? It would help us a lot.
You can find test templates at: https://github.com/hibernate/hibernate-test-case-templates/tree/master/orm/hibernate-orm-5.
The AbstractPropertyMapping source code:
In my case, the entities are dynamic-map. So when it calls 'clazz2.getMappedClass()', a null returned.
thanks for the test.