Deleting an entity leads to NullPointerException in ByteBuddy proxy

Description

Hi everyone,
I guess ther eis a regression in Hibernate 5.3.x concerning inheritence and composite primary keys.

Problem is that a NullPointerException occurs when a method is called from the constructor of a (Byte Buddy) proxied abstract entity class.

I will reference a GitHub fork, but want to create the issue first in order to get an issue number.

In this fork you can find the JPAUnitTestCase. You should reproduce the bug with this tets case.

Environment

Java: 1.8

Activity

Show:
Oliver Libutzki
July 10, 2018, 10:36 AM
Oliver Libutzki
July 16, 2018, 6:01 PM

Thanks for resolving this issue that quickly!

Oliver Libutzki
July 17, 2018, 8:24 AM
Edited

Did you already schedule the 5.3.3 release?

Guillaume Smet
July 17, 2018, 9:37 AM

I plan to do the release on Thursday afternoon. So it shouldn't be a long wait .

Oliver Libutzki
July 17, 2018, 9:55 AM

Great!

Assignee

Guillaume Smet

Reporter

Oliver Libutzki

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.2.17

Components

Affects versions

Priority

Major
Configure