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

@NotFound applied to *-to-one relation in superclass

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0.Beta4
    • Fix Version/s: 4.3.2
    • Component/s: hibernate-envers
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Stack trace:

      java.lang.NullPointerException
      at org.hibernate.envers.internal.entities.mapper.relation.ToOneIdMapper.nullSafeMapToEntityFromMap(ToOneIdMapper.java:110)
      at org.hibernate.envers.internal.entities.mapper.relation.AbstractToOneMapper.mapToEntityFromMap(AbstractToOneMapper.java:67)
      at org.hibernate.envers.internal.entities.mapper.MultiPropertyMapper.mapToEntityFromMap(MultiPropertyMapper.java:172)
      at org.hibernate.envers.internal.entities.mapper.SubclassPropertyMapper.mapToEntityFromMap(SubclassPropertyMapper.java:102)
      at org.hibernate.envers.internal.entities.mapper.SubclassPropertyMapper.mapToEntityFromMap(SubclassPropertyMapper.java:102)
      at org.hibernate.envers.internal.entities.EntityInstantiator.createInstanceFromVersionsEntity(EntityInstantiator.java:113)
      at org.hibernate.envers.internal.entities.EntityInstantiator.addInstancesFromVersionsEntities(EntityInstantiator.java:174)
      at org.hibernate.envers.query.internal.impl.EntitiesAtRevisionQuery.list(EntitiesAtRevisionQuery.java:136)
      at org.hibernate.envers.query.internal.impl.AbstractAuditQuery.getSingleResult(AbstractAuditQuery.java:113)
      at org.hibernate.envers.internal.reader.AuditReaderImpl.find(AuditReaderImpl.java:138)
      at org.hibernate.envers.internal.reader.AuditReaderImpl.find(AuditReaderImpl.java:108)
      at org.hibernate.envers.internal.reader.AuditReaderImpl.find(AuditReaderImpl.java:102)
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                lukasz.antoniak Lukasz Antoniak
                Reporter:
                lukasz.antoniak Lukasz Antoniak
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: