Skip to content

Commit

Permalink
npe fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kateryna Honchar committed Sep 12, 2022
1 parent 7c5cc73 commit af7476b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ protected void collectExtensionItems(ItemWrapper<?, ?> item, boolean containers,

try {
PrismContainerValueWrapper<ExtensionType> extension = (PrismContainerValueWrapper<ExtensionType>) item.getValue();
if (extension == null) {
return;
}
List<? extends ItemWrapper<?, ?>> extensionItems = extension.getItems();
for (ItemWrapper<?, ?> extensionItem : extensionItems) {
if (extensionItem.isShowInVirtualContainer()) {
Expand Down

0 comments on commit af7476b

Please sign in to comment.