Project

General

Profile

« Previous | Next » 

Revision 9ce386b8

Added by Katja Luther almost 5 years ago

fix NPE in ParseHandler

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/parser/ParseHandler.java
213 213
			name.setNomenclaturalReference(duplicate);
214 214
		}
215 215
		//if reference is new but the in reference is already in db
216
		if (matchMatrix.duplicateReferences.size() == 0 && name.getNomenclaturalReference().getInReference() != null && matchMatrix.duplicateInReferences.size() > 0){
216
		if (matchMatrix.duplicateReferences.size() == 0 && (name.getNomenclaturalReference() != null && name.getNomenclaturalReference().getInReference() != null) && matchMatrix.duplicateInReferences.size() > 0){
217 217
		    resolveDuplicateInReferences(name, matchMatrix);
218 218
		}
219 219
	}

Also available in: Unified diff