Project

General

Profile

Revision 9ce386b8

ID9ce386b8164db5d75c36e38947f4df33fb3d37df
Parent a4f3f99c
Child 198c9340

Added by Katja Luther 11 months 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

Add picture from clipboard (Maximum size: 40 MB)