Skip to content

Commit

Permalink
Fix NPE in object policy configuration tab
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Sep 3, 2018
1 parent 9195d04 commit b69a4cd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -290,7 +290,7 @@ public void populateItem(Item<ICellPopulator<ContainerValueWrapper<ObjectPolicyC

ContainerWrapper<LifecycleStateModelType> lifecycleState = rowModel.getObject().findContainerWrapper(new ItemPath(rowModel.getObject().getPath(), ObjectPolicyConfigurationType.F_LIFECYCLE_STATE_MODEL));

if(lifecycleState.getValues().get(0).getContainerValue().getValue().getState()==null ||
if (lifecycleState == null || lifecycleState.getValues().get(0).getContainerValue().getValue().getState()==null ||
lifecycleState.getValues().get(0).getContainerValue().getValue().getState().isEmpty()) {
item.add(new Label(componentId, createStringResource("ObjectPolicyConfigurationTabPanel.lifecycleState.value.no")));
} else {
Expand Down

0 comments on commit b69a4cd

Please sign in to comment.