| Loading a child entity from second level cache with eager bidirectional relationship with parent causes NullPointerException. During child entity loading, the parent load is triggered that has a Set of children and after this load the temporary child entity (only id field, others null) is added to this Set, calling the hashcode where no business key can be computed because of null fields. |