}
private void createInfragenerericEpithetControls(ICdmFormElement element, NonViralName nonViralName, int style){
- if (nonViralName.getNomenclaturalCode().equals(NomenclaturalCode.ICZN)){
+ if (nonViralName.getNomenclaturalCode() == null || nonViralName.getNomenclaturalCode().equals(NomenclaturalCode.ICZN)){
if(nonViralName.getRank() != null && nonViralName.getRank().isLower(Rank.GENUS()) ){
text_infragenericEpithet = formFactory.createTextWithLabelElement(element, "Infrageneric Epithet", nonViralName.getInfraGenericEpithet(), style);
}