You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Dilli Arumugam (JIRA)" <ji...@apache.org> on 2015/03/24 05:02:52 UTC
[jira] [Resolved] (RANGER-320) Usersync NPE when object does not
have userNameAttribute
[ https://issues.apache.org/jira/browse/RANGER-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dilli Arumugam resolved RANGER-320.
-----------------------------------
Resolution: Fixed
> Usersync NPE when object does not have userNameAttribute
> --------------------------------------------------------
>
> Key: RANGER-320
> URL: https://issues.apache.org/jira/browse/RANGER-320
> Project: Ranger
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Dilli Arumugam
> Assignee: Dilli Arumugam
> Fix For: 0.5.0
>
> Attachments: RANGER-320.1.patch, RANGER-320.2.patch
>
>
> PROBLEM: When running usersync and a user that matches the userSearchFilter does not contain the attributed specified as userNameAttribute, the updateSink function fails with a NPE:
> 16 Feb 2015 18:16:44 ERROR UserGroupSync [UnixUserSyncThread] - Failed to initialize UserGroup source/sink. Will retry after 120000 milliseconds. Error details:
> java.lang.NullPointerException
> at com.xasecure.ldapusersync.process.LdapUserGroupBuilder.updateSink(LdapUserGroupBuilder.java:201)
> at com.xasecure.usergroupsync.UserGroupSync.run(UserGroupSync.java:59)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)