Revision 84f5eea0
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/ChecklistEditorE4.java | ||
---|---|---|
419 | 419 |
} else{ |
420 | 420 |
titles.add(term.getTitleCache()); |
421 | 421 |
} |
422 |
}{ |
|
423 |
titles.add(term.getTitleCache()); |
|
424 | 422 |
} |
425 | 423 |
bounds.add(200); |
426 | 424 |
columnIndex++; |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/DistributionEditorHelper.java | ||
---|---|---|
73 | 73 |
for (DescriptionElementBase deb : td.getElements()) { |
74 | 74 |
if (deb instanceof Distribution) { |
75 | 75 |
Distribution distribution = (Distribution) deb; |
76 |
if (distribution.getArea().getUuid().equals(areaUuid)){ |
|
76 |
if (distribution != null && distribution.getArea() != null && distribution.getArea().getUuid().equals(areaUuid)){
|
|
77 | 77 |
return distribution; |
78 | 78 |
} |
79 | 79 |
} |
Also available in: Unified diff
ref #7063: fix NPE in distribution editor