Revision fa49c1f3
Added by Andreas Müller over 5 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/TaxonNavigatorLabelProviderE4.java | ||
---|---|---|
62 | 62 |
try{ |
63 | 63 |
Taxon taxon = HibernateProxyHelper.deproxy(taxonNode.getTaxon()); |
64 | 64 |
if(taxon == null){ |
65 |
String text = taxonNode.getClassification().getName().getText(); |
|
65 |
String text = taxonNode.getClassification().getName() == null ? null : taxonNode.getClassification().getName().getText();
|
|
66 | 66 |
if(text==null){ |
67 | 67 |
text = taxonNode.getClassification().getTitleCache(); |
68 | 68 |
} |
Also available in: Unified diff
Fix NPE in classification label provider