Skip to content
Snippets Groups Projects
Commit e9e6a69d authored by srosse's avatar srosse
Browse files

no-jira: prevent NPE

parent 85b11de5
No related branches found
No related tags found
No related merge requests found
...@@ -618,7 +618,9 @@ public class UserSearchTableController extends FormBasicController implements Ac ...@@ -618,7 +618,9 @@ public class UserSearchTableController extends FormBasicController implements Ac
List<Long> identityKeys = new ArrayList<>(selections.size()); List<Long> identityKeys = new ArrayList<>(selections.size());
for(Integer selection:selections) { for(Integer selection:selections) {
IdentityPropertiesRow row = tableModel.getObject(selection.intValue()); IdentityPropertiesRow row = tableModel.getObject(selection.intValue());
identityKeys.add(row.getIdentityKey()); if(row != null) {
identityKeys.add(row.getIdentityKey());
}
} }
return securityManager.loadIdentityByKeys(identityKeys); return securityManager.loadIdentityByKeys(identityKeys);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment