Fixes #2209
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / preference / wizard / VocabularyTermWizardPage.java
index ffb37c01138bb23cfce61a2ecfe6f3835e90769d..fbacb97c6709b74fe3ee65a6bb9ccc50d1478d1c 100644 (file)
@@ -21,6 +21,7 @@ import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Text;
 
+import eu.etaxonomy.cdm.common.CdmUtils;
 import eu.etaxonomy.cdm.model.common.DefinedTermBase;
 import eu.etaxonomy.cdm.model.common.Representation;
 
@@ -91,9 +92,9 @@ public class VocabularyTermWizardPage<T extends DefinedTermBase> extends WizardP
                
                if(getWizard().getRepresentation() != null){
                        Representation representation = getWizard().getRepresentation();
-                       text_label.setText(representation.getLabel());
-                       text_labelAbbreviation.setText(representation.getAbbreviatedLabel());
-                       text_description.setText(representation.getDescription());
+                       text_label.setText(CdmUtils.Nz(representation.getLabel()));
+                       text_labelAbbreviation.setText(CdmUtils.Nz(representation.getAbbreviatedLabel()));
+                       text_description.setText(CdmUtils.Nz(representation.getDescription()));
                }
                
                setPageComplete(false);