ATLAS-4847 : Export/Import : Atlas export fails and throws NullPointerException
Signed-off-by: Pinal Shah <pinal.shah@freestoneinfotech.com>
This commit is contained in:
parent
386067ebfe
commit
94083a3802
|
|
@ -442,12 +442,13 @@ public class ExportService {
|
|||
return ret;
|
||||
}
|
||||
|
||||
for (AtlasEntity entity : entityWithExtInfo.getReferredEntities().values()) {
|
||||
if((doesTimestampQualify(entity))) {
|
||||
ret.add(entity);
|
||||
if (entityWithExtInfo.getReferredEntities() != null) {
|
||||
for (AtlasEntity entity : entityWithExtInfo.getReferredEntities().values()) {
|
||||
if((doesTimestampQualify(entity))) {
|
||||
ret.add(entity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue