[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7241) NPE in NaturalIdResolutionCache

Neukomm (JIRA) noreply at atlassian.com
Wed Apr 11 05:02:48 EDT 2012


NPE in NaturalIdResolutionCache
-------------------------------

                 Key: HHH-7241
                 URL: https://hibernate.onjira.com/browse/HHH-7241
             Project: Hibernate ORM
          Issue Type: Bug
    Affects Versions: 4.1.2
         Environment: Hibernate 4.1.2, hsqldb 2.2.8
            Reporter: Neukomm
         Attachments: NaturalIdResolutionCacheNPETest.zip

Starting with hibernate-core version 4.1.2, NaturalIdXrefDelegate$NaturalIdResolutionCache.cache throws NullPointerException in cases where the id is not yet known. hibernate-core 4.1.1 works fine.
I've attached a test case that fails in 4.1.2, but runs fine with 4.1.1.

This issue was already mentioned in the user forum: https://forum.hibernate.org/viewtopic.php?f=1&t=1015088


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list