Skip to content

Commit

Permalink
fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Aug 6, 2019
1 parent ea94fa5 commit e9419c5
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -267,7 +267,8 @@ private String getLocalizedDisplayName() {
displayName = name.getLocalPart();

PrismContainerValue<?> val = newItem.getParent();
if (val.getDefinition().isRuntimeSchema()) {
if (val != null && val.getDefinition() != null
&& val.getDefinition().isRuntimeSchema()) {
return localizeName(displayName, displayName);
}

Expand Down

0 comments on commit e9419c5

Please sign in to comment.