LDAPSync fails with ERROR null pointer exception.

book

Article ID: 220559

calendar_today

Updated On:

Products

CA Automic One Automation

Issue/Introduction

LDAPSync does not create users in the respective client and errors with a java.lang.NullPointerException.

2021-07-28 18:56:46.976 [main] c.a.s.l.s.AESynchronizationStep          INFO   ===== Start sync US_WEST -> LDAP
2021-07-28 18:56:46.976 [main] c.a.s.l.s.AESynchronizationStep          INFO   Find differences between LDAP server and AE server...
2021-07-28 18:56:46.976 [main] c.a.s.l.s.AESynchronizationStep          INFO   Fetching users from LDAP...
2021-07-28 18:56:47.007 [main] c.a.s.l.s.AESynchronizationStep          INFO   ...found 7 users from LDAP groups US_WEST
2021-07-28 18:56:47.007 [main] c.a.s.l.s.AESynchronizationStep          INFO   Fetching users from AE...
2021-07-28 18:56:47.210 [main] c.a.s.l.a.AEService                      WARN   'AUTOMIC/AUTOMIC': Access denied
2021-07-28 18:56:47.210 [main] c.a.s.l.s.AESynchronizationStep          ERROR  null
java.lang.NullPointerException: null
        at com.automic.sara.ldapsync.ae.AEService.getGroupIdnr(AEService.java:278)
        at com.automic.sara.ldapsync.ae.AEService.getUsers(AEService.java:240)
        at com.automic.sara.ldapsync.steps.AESynchronizationStep.findChange(AESynchronizationStep.java:132)
        at com.automic.sara.ldapsync.steps.AESynchronizationStep.sync(AESynchronizationStep.java:97)
        at com.automic.sara.ldapsync.steps.BaseSynchronizationStep.execute(BaseSynchronizationStep.java:100)
        at com.automic.sara.ldapsync.SynchronizationStepChain.execute(SynchronizationStepChain.java:33)
        at com.automic.sara.ldapsync.LDAPSynchronizer.run(LDAPSynchronizer.java:59)
        at com.automic.sara.ldapsync.LDAPSynchronizer.main(LDAPSynchronizer.java:28)
2021-07-28 18:56:47.210 [main] c.a.s.l.SynchronizationStepChain         INFO   FINISH AESynchronizationStep, time = 281 milliseconds
2021-07-28 18:56:47.226 [down] c.a.s.l.s.FinalizeStep                   INFO   ==================

Cause

Configuration.

Environment

Release : 2.3.n

Component : LDAPSYNC

Resolution

The Automation Engine user specified in LDAPSync.xml does not have the appropriate authorizations to access user objects.

Attachments