Program: 68623
Project: 68623
Buggy source:
/** 
 * INTERNAL: Create and return a new MetadataProject with puInfo as its PersistenceUnitInfo,  session as its Session and weavingEnabled as its global dynamic weaving state.
 * @param puInfo - the PersistenceUnitInfo
 * @param session - the Session
 * @param weavingEnabled - flag for global dynamic weaving state
 */
public MetadataProject(PersistenceUnitInfo puInfo,AbstractSession session,boolean weavingEnabled,boolean weaveEager){
  m_persistenceUnitInfo=puInfo;
  m_session=session;
  m_logger=new MetadataLogger(session);
  m_weavingEnabled=weavingEnabled;
  m_weaveEager=weaveEager;
  m_entityMappings=new ArrayList<XMLEntityMappings>();
  m_defaultListeners=new HashMap<String,EntityListenerMetadata>();
  m_namedQueries=new HashMap<String,NamedQueryMetadata>();
  m_namedNativeQueries=new HashMap<String,NamedNativeQueryMetadata>();
  m_namedStoredProcedureQueries=new HashMap<String,NamedStoredProcedureQueryMetadata>();
  m_mappedSuperclasses=new HashMap<String,MappedSuperclassAccessor>();
  m_allAccessors=new HashMap<String,ClassAccessor>();
  m_entityAccessors=new HashMap<String,EntityAccessor>();
  m_embeddableAccessors=new HashMap<String,EmbeddableAccessor>();
  m_interfaceAccessors=new HashMap<String,InterfaceAccessor>();
  m_accessorsWithCustomizer=new HashSet<ClassAccessor>();
  m_accessorsWithRelationships=new HashSet<ClassAccessor>();
  m_generatedValues=new HashMap<Class,GeneratedValueMetadata>();
  m_tableGenerators=new HashMap<String,TableGeneratorMetadata>();
  m_sequenceGenerators=new HashMap<String,SequenceGeneratorMetadata>();
  m_converters=new HashMap<String,AbstractConverterMetadata>();
  m_convertAccessors=new HashSet<DirectAccessor>();
  m_structConverters=new HashMap<String,StructConverterMetadata>();
}

Fixed version (ground truth):
/** 
 * INTERNAL: Create and return a new MetadataProject with puInfo as its PersistenceUnitInfo,  session as its Session and weavingEnabled as its global dynamic weaving state.
 * @param puInfo - the PersistenceUnitInfo
 * @param session - the Session
 * @param weavingEnabled - flag for global dynamic weaving state
 */
public MetadataProject(PersistenceUnitInfo puInfo,AbstractSession session,boolean weavingEnabled,boolean weaveEager){
  m_persistenceUnitInfo=puInfo;
  m_session=session;
  m_logger=new MetadataLogger(session);
  m_weavingEnabled=weavingEnabled;
  m_weaveEager=weaveEager;
  m_entityMappings=new ArrayList<XMLEntityMappings>();
  m_defaultListeners=new LinkedHashSet<EntityListenerMetadata>();
  m_namedQueries=new HashMap<String,NamedQueryMetadata>();
  m_namedNativeQueries=new HashMap<String,NamedNativeQueryMetadata>();
  m_namedStoredProcedureQueries=new HashMap<String,NamedStoredProcedureQueryMetadata>();
  m_mappedSuperclasses=new HashMap<String,MappedSuperclassAccessor>();
  m_allAccessors=new HashMap<String,ClassAccessor>();
  m_entityAccessors=new HashMap<String,EntityAccessor>();
  m_embeddableAccessors=new HashMap<String,EmbeddableAccessor>();
  m_interfaceAccessors=new HashMap<String,InterfaceAccessor>();
  m_accessorsWithCustomizer=new HashSet<ClassAccessor>();
  m_accessorsWithRelationships=new HashSet<ClassAccessor>();
  m_generatedValues=new HashMap<Class,GeneratedValueMetadata>();
  m_tableGenerators=new HashMap<String,TableGeneratorMetadata>();
  m_sequenceGenerators=new HashMap<String,SequenceGeneratorMetadata>();
  m_converters=new HashMap<String,AbstractConverterMetadata>();
  m_convertAccessors=new HashSet<DirectAccessor>();
  m_structConverters=new HashMap<String,StructConverterMetadata>();
}