Uploaded image for project: 'Hibernate ORM'
  1. HHH-12786

Deleting an entity leads to NullPointerException in ByteBuddy proxy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.0.Final, 5.3.1, 5.3.2
    • Fix Version/s: 5.3.3, 5.4
    • Component/s: hibernate-core
    • Labels:
      None
    • Environment:
      Java: 1.8
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Worked in:
    • Last commented by a user?:
      true

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: