Project

General

Profile

« Previous | Next » 

Revision eff541be

Added by Patrick Plitzner over 6 years ago

ref #6905, #6597 Fix potential NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsPartE4.java
81 81
            showViewer(structuredSelection, activePart);
82 82
            return;
83 83
        }
84
        else if(selectionProvidingPart.isVisible()){
84
        else if(selectionProvidingPart!=null && selectionProvidingPart.isVisible()){
85 85
            return;
86 86
        }
87 87
        else{
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/supplementaldata/SupplementalDataPartE4.java
108 108
	        showViewer(structuredSelection, activePart);
109 109
	        return;
110 110
	    }
111
        else if(selectionProvidingPart.isVisible()){
111
        else if(selectionProvidingPart!=null && selectionProvidingPart.isVisible()){
112 112
            return;
113 113
        }
114 114
        else{

Also available in: Unified diff