diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/MaterialTypePE.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/MaterialTypePE.java index 15afa3b87955dbae1752bc95d894a579c3743c93..733d6be3634497827c15b4880709ac4171ffb046 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/MaterialTypePE.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/dto/MaterialTypePE.java @@ -16,6 +16,7 @@ package ch.systemsx.cisd.openbis.generic.shared.dto; +import java.util.HashSet; import java.util.Set; import javax.persistence.Entity; @@ -46,7 +47,8 @@ public final class MaterialTypePE extends EntityTypePE { private static final long serialVersionUID = GenericSharedConstants.VERSION; - private Set<MaterialTypePropertyTypePE> materialTypePropertyTypes; + private Set<MaterialTypePropertyTypePE> materialTypePropertyTypes = + new HashSet<MaterialTypePropertyTypePE>(); // // EntityTypePE