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

Strong Liu (JIRA) noreply at atlassian.com
Wed Apr 18 04:23:50 EDT 2012


     [ https://hibernate.onjira.com/browse/HHH-7241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-7241.
-----------------------------

    Resolution: Duplicate
      Assignee: Strong Liu

I believe this already be fixed by HHH-7253, reopen if you found anything wrong, thanks

> 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
>            Assignee: Strong Liu
>         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