Fix exception label for URI text elements
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / UriWithLabelElement.java
index 92aa2e81048a74ee0a087c806c4e4e9020bc3ba4..82dd7389c583d243a5b047747b4a63070e5da752 100644 (file)
@@ -107,7 +107,11 @@ public class UriWithLabelElement extends AbstractUriWithExceptionLabelElement<UR
      */
     @Override
     protected URI getParsedText() throws Exception {
-        return new URI(super.getText());
+        String uriText = super.getText();
+        if(uriText!=null){
+            return new URI(super.getText());
+        }
+        return null;
     }
 
 }