#4725
authorKatja Luther <k.luther@bgbm.org>
Wed, 3 Jun 2015 07:55:09 +0000 (07:55 +0000)
committerKatja Luther <k.luther@bgbm.org>
Wed, 3 Jun 2015 07:55:09 +0000 (07:55 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/TypeDesignationSection.java

index 7d280ec9598d9dd4502f8cecb86fe888089916df..d48891aa44c43070eb1a4ad766829937f3d7695f 100644 (file)
@@ -73,6 +73,9 @@ public class TypeDesignationSection extends AbstractEntityCollectionSection<Taxo
        /** {@inheritDoc} */
        @Override
        public Collection<TypeDesignationBase> getCollection(TaxonNameBase entity) {
        /** {@inheritDoc} */
        @Override
        public Collection<TypeDesignationBase> getCollection(TaxonNameBase entity) {
+               if (entity == null){
+                       return null;
+               }
                return entity.getTypeDesignations();
        }
 
                return entity.getTypeDesignations();
        }