Project

General

Profile

« Previous | Next » 

Revision 1cb71588

Added by Patrick Plitzner almost 7 years ago

Fix potential NPE when opening entities that have already been deleted

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/CdmViewerUtil.java
54 54
                TreeNode treeNode = (TreeNode)input;
55 55
                input = treeNode.getValue();
56 56
            }
57

  
58

  
57
            if(input==null){
58
                return commandViewerNameMap;
59
            }
59 60
            IExtensionRegistry reg = Platform.getExtensionRegistry();
60 61
            IConfigurationElement[] extensions = reg
61 62
                    .getConfigurationElementsFor("eu.etaxonomy.taxeditor.store.cdmViewer"); //$NON-NLS-1$

Also available in: Unified diff