Fix NPE
authorPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 1 Sep 2015 11:42:44 +0000 (13:42 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Tue, 1 Sep 2015 11:42:44 +0000 (13:42 +0200)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java

index c935014..e87142c 100644 (file)
@@ -168,7 +168,9 @@ public class EditorUtil extends AbstractUtility {
         }
                TaxonEditorInput input = TaxonEditorInput
                                .NewInstanceFromTaxonBase(taxonBaseUuid);
-               open(input);
+               if(input!=null){
+                   open(input);
+               }
        }
 
        /**