Re: [hibernate-dev] Null-Pointer Exception with 5.2.14

2018-03-05 Thread Guillaume Smet
Hi Christian, Looks like we just crossposted. FWIW, there is another report here: https://hibernate.atlassian.net/browse/HHH-12347 . We should check this case is covered too. I marked the 2 other issues as duplicate of https://hibernate.atlassian.net/browse/HHH-12332 , feel free to close them as

Re: [hibernate-dev] Null-Pointer Exception with 5.2.14

2018-03-05 Thread Christian Beikov
I have a reproducer as well and have a partial fix already. Just doing some more testing now to make sure some other edge cases I discovered are handled properly. Am 05.03.2018 13:08 schrieb "Petar Tahchiev" : > I managed to reproduce it. Here's the bug: https://hibernate.atlassian. > net/browse/

Re: [hibernate-dev] Null-Pointer Exception with 5.2.14

2018-03-05 Thread Petar Tahchiev
I managed to reproduce it. Here's the bug: https://hibernate.atlassian.net/browse/HHH-12354 and here is the project to reproduce it: https://github.com/ptahchiev/hibernate-test-case-templates/tree/nlp 2018-03-01 10:49 GMT+02:00 Vlad Mihalcea : > Hi Petar, > > You can use this template: > > http:/

Re: [hibernate-dev] Null-Pointer Exception with 5.2.14

2018-03-01 Thread Vlad Mihalcea
Hi Petar, You can use this template: http://in.relation.to/2016/01/14/hibernate-jpa-test-case-template/ to create a test case that replicates the issue. You don't need to provide all entities, just the 4 entities that build that hierarchy you have mentioned in your email. If you can replicate i

Re: [hibernate-dev] Null-Pointer Exception with 5.2.14

2018-03-01 Thread Petar Tahchiev
Hi Christian, My model has more than 250 entities big. Here's the code that throws the NLP: Class c1 = clazz1.getMappedClass(); Class c2 = commonPersistentClass.getMappedClass(); MappedSuperclass commonMappedSuperclass = null; // First we traverse up the clazz2/commonPersistentClass super types

Re: [hibernate-dev] Null-Pointer Exception with 5.2.14

2018-02-28 Thread Christian Beikov
Hey, I saw the comment on the issue. Thanks for reporting. Could you maybe post the model that causes this? I'd need to create a reproducer to be able to analyze this further. Mit freundlichen Grüßen, *Christian Beikov* Am