Project

General

Profile

Revision 79deca9c

ID79deca9cc6f99961c6d49b2a207b3bb92774d102
Parent 05767456
Child f5d9192a

Added by Katja Luther about 2 months ago

avoid NPE in taxonnodedetail element

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeDetailElement.java
269 269

  
270 270
	private void preFillTaxonName() {
271 271
        TaxonNode node = parentNode;
272
        if(node.getTaxon()!=null){
272
        if(node != null && node.getTaxon()!=null){
273 273
            Taxon taxon = HibernateProxyHelper.deproxy(node.getTaxon(), Taxon.class);
274 274
            if(taxon.getName()!=null){
275 275
                TaxonName name = HibernateProxyHelper.deproxy(node.getTaxon().getName());

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)