Skip to content

Commit

Permalink
checking for null org
Browse files Browse the repository at this point in the history
  • Loading branch information
Camelia-Orcid committed Oct 19, 2023
1 parent 7885983 commit d9af48d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public void createOrgDisambiguatedExternalIdentifier(OrgDisambiguatedExternalIde
normalizeExternalIdentifier(identifier);
boolean toPersist = true;
OrgDisambiguatedEntity orgDisambiguatedEntity = identifier.getOrgDisambiguated();
if (orgDisambiguatedEntity.getExternalIdentifiers() != null) {
if (orgDisambiguatedEntity != null && orgDisambiguatedEntity.getExternalIdentifiers() != null) {
String extIdentifierKeyToAdd = identifier.getIdentifierType() + "::" + identifier.getIdentifier();
String extIdentifierKey;
for (OrgDisambiguatedExternalIdentifierEntity identifier1 : orgDisambiguatedEntity.getExternalIdentifiers()) {
Expand Down

0 comments on commit d9af48d

Please sign in to comment.