Skip to content

Commit

Permalink
Fixing NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jul 25, 2016
1 parent 2b3f5ae commit 819afca
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -252,7 +252,7 @@ public PrismObject<ShadowType> lookupConflictingShadowBySecondaryIdentifiers(
Collection<ResourceAttribute<?>> secondaryIdentifiers = ShadowUtil.getSecondaryIdentifiers(resourceShadow);
List<PrismObject<ShadowType>> results = lookupShadowsBySecondaryIdentifiers(ctx, secondaryIdentifiers, parentResult);

if (results.size() == 0) {
if (results == null || results.size() == 0) {
return null;
}

Expand Down

0 comments on commit 819afca

Please sign in to comment.