Project

General

Profile

Revision ebac9359

IDebac935907a1686ba4161b258f31e80efdc6325f
Parent 6870dcc1
Child 8604cc76

Added by Andreas Kohlbecker almost 4 years ago

avoiding NPE

View differences:

cdmlib-cache/src/main/java/eu/etaxonomy/cdm/cache/EntityCacherDebugResult.java
171 171
            for(CdmEntityInfo cei : notInCacheList) {
172 172
                CdmBase cb = (CdmBase) cei.getObject();
173 173
                CdmEntityInfo parentCei = cei.getParent();
174
                Object parentEntity = parentCei.getObject();
174
                Object parentEntity = null;
175
                if(parentCei != null){
176
                    parentEntity = parentCei.getObject();
177
                }
175 178

  
176 179
                sb.append(System.getProperty("line.separator"));
177 180

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)