[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2937) NullPointException during flush if getSnapshot return null

Emilio Dolce (JIRA) noreply at atlassian.com
Thu Nov 8 11:24:29 EST 2007


NullPointException during flush if getSnapshot return null
----------------------------------------------------------

                 Key: HHH-2937
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2937
             Project: Hibernate3
          Issue Type: Bug
          Components: core
    Affects Versions: 3.2.2
         Environment: Windows
            Reporter: Emilio Dolce


The method equalsSnapshot of the PersistentBag class do not check if returned snapshot is null causing a NullPointException.
Please che the next condition with this:
if ( sn == null || sn.size()!=bag.size() ) return false;

-- 
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