Skip to content

Commit

Permalink
ugly NPE fix (at list trying to fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Apr 7, 2020
1 parent 896ee2c commit 989636c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -68,6 +68,9 @@ protected void populateItem(ListItem<VW> item) {
}

protected void populate(ListItem<VW> item) {
if (item.getModelObject() != null && item.getModelObject().getParent() != null) {
item.getModelObject().getParent().revive(getPageBase().getPrismContext());
}
switch (columnType) {
case STRING:
Label label = new Label(ID_VALUE, createLabel(item.getModelObject()));
Expand Down

0 comments on commit 989636c

Please sign in to comment.