Description
Ranger usersync fails during nested group evaluation when Incremental sync is enabled with group first search.
Following is the exception while evaluating nested groups:
22 Sep 2017 18:28:55 ERROR UserGroupSync UnixUserSyncThread - Failed to sync user/group :
java.lang.NullPointerException
at org.apache.ranger.ldapusersync.process.LdapDeltaUserGroupBuilder.goUpGroupHierarchy(LdapDeltaUserGroupBuilder.java:844)
at org.apache.ranger.ldapusersync.process.LdapDeltaUserGroupBuilder.updateSink(LdapDeltaUserGroupBuilder.java:335)
at org.apache.ranger.usergroupsync.UserGroupSync.syncUserGroup(UserGroupSync.java:114)
at org.apache.ranger.usergroupsync.UserGroupSync.run(UserGroupSync.java:87)
at java.lang.Thread.run(Thread.java:748)