Skip to content

LDAP User Import Application : NullPointerException returned by one group update makes the whole groups synchronization fail #82

Description

@mouhb

A NullPointerException is returned by the "Mapped groups daily updater" job when a mapped group is apparently empty (XWikiLDAPUtils#getGroupMembers(ldapGroupDN, context) returns null), see logs error.txt.

We have 2 issues here :

  • Null returned value of method ldapUtils.getGroupMembers() is not correctly managed here
  • If the update of one group fails (for some reason) it will make the whole synchronization update fail (the failure can be partial if the failed group is not the first one updated).

Version of LDAP User Import Application : 1.5.3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions