fix #6947: fix error for empty lsid field
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / LsidWithExceptionLabelElement.java
index d2fbc2ce42fe35b1eb0d4bd411479ded3d905f81..cb8a4629fd020fd3bc71cad114f9d481c57e073f 100644 (file)
@@ -39,7 +39,11 @@ public class LsidWithExceptionLabelElement extends AbstractUriWithExceptionLabel
         */
        @Override
        public LSID getParsedText() throws Exception {
-            return new LSID(super.getText());
+            String uriText = super.getText();
+            if(uriText!=null){
+                return new LSID(uriText);
+            }
+            return null;
        }
 
 }