[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2834) java.lang.NullPointerException regression between 3.2.2 and 3.2.3 (related to HHH-252)

Vincent Sevel (JIRA) noreply at atlassian.com
Wed Sep 12 03:55:14 EDT 2007


java.lang.NullPointerException  regression between 3.2.2 and 3.2.3 (related to HHH-252)
---------------------------------------------------------------------------------------

                 Key: HHH-2834
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2834
             Project: Hibernate3
          Issue Type: Bug
          Components: core
    Affects Versions: 3.2.3, 3.2.2
         Environment: Hibernate version:3.2.3
Hibernate annotations version:3.3.0
Hibernate entity manager version:3.3.1 
Hsqldb 1.8.0 
            Reporter: Vincent Sevel
         Attachments: sources.txt, test_code_and_exception.txt

Code that was working in 3.2.2, now throws a null pointer in 3.2.3 after bug HHH-252 was fixed.

In the stack trace belowe, a FixedLoanDepositInstrumentEty instance is created and merged. The embedded contractRef is null.
When the new code in TypeFactory.replaceAssociations() gets executed, there is an attempt to get field values from the null component, which leads eventually to the exception. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list