Skip to content

Commit

Permalink
removing NPE after clicking on edit object on projections table MID-5416
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Jun 7, 2019
1 parent e7cf371 commit a19801b
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -242,7 +242,8 @@ public void itemPerformedForDefaultAction(AjaxRequestTarget target,
IModel<PrismContainerValueWrapper<ShadowType>> rowModel,
List<PrismContainerValueWrapper<ShadowType>> listItems) {

if(((ShadowWrapper)rowModel.getObject().getParent()).isLoadWithNoFetch()) {
if(rowModel != null && rowModel.getObject() != null
&& ((ShadowWrapper)rowModel.getObject().getParent()).isLoadWithNoFetch()) {
((PageAdminFocus) getPage()).loadFullShadow((PrismObjectValueWrapper)rowModel.getObject(), target);
}

Expand Down

0 comments on commit a19801b

Please sign in to comment.