Project

General

Profile

Revision 4a428ec2

ID4a428ec29f852bf63bfdefba3f53ed68d416de98
Parent 3db08ffa
Child acffd6b0

Added by Andreas Müller 6 months ago

ref #8829 fix NPE in TaxonNodeServiceImpl.dto

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonNodeServiceImpl.java
257 257
    @Override
258 258
    public TaxonNodeDto dto(UUID taxonNodeUuid) {
259 259
        TaxonNode taxonNode = dao.load(taxonNodeUuid);
260
        if(taxonNode.getParent() != null) {
260
        if (taxonNode != null){
261 261
            return new TaxonNodeDto(taxonNode);
262 262
        }
263 263
        return null;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)