Project

General

Profile

« Previous | Next » 

Revision cabfc584

Added by Andreas Kohlbecker almost 8 years ago

#5563 fixed by avoiding access to null FeatureNodes

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/description/FeatureTreeDaoImpl.java
60 60

  
61 61
        List<FeatureNode> childrenOfChildren = new ArrayList<FeatureNode>();
62 62
        for(FeatureNode node : nodes) {
63
            if(node.getChildCount() > 0){
63
            if(node != null && node.getChildCount() > 0){
64 64
                childrenOfChildren.addAll(node.getChildNodes());
65 65
            }
66 66
        }

Also available in: Unified diff