My Oracle Support Banner

"Unable to Set LDAP Connection" Error Creating User in OIM 11g (Doc ID 1307549.1)

Last updated on APRIL 23, 2018

Applies to:

Identity Manager - Version and later
Information in this document applies to any platform.
**Checked for relevance on 15-Sep-2012**


Installed OIM and OAM 11g.

When attempting to create a user in OIM then the following error is received:

Unable to set LDAP connection, and the root cause is -- Null input buffer.

oim_server1-diagnostic.log shows:

  [IAM-3010042] [oracle.iam.ldapsync.vo] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: ] [APP: oim#] [arg: oracle.iam.ldapsync.impl.DefaultLDAPContainerMapper] Loading LDAP container mapping plug-in - oracle.iam.ldapsync.impl.DefaultLDAPContainerMapper
  [IAM-0040016] [oracle.iam.platform.entitymgr.impl] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: ] [APP: oim#] [arg: LDAPUser] [arg: LDAPDataProvider] Initializing data provider for entity type - LDAPUser of type LDAPDataProvider
  [IAM-0042017] [oracle.iam.platform.entitymgr.provider.ldap] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: ] [APP: oim#] [arg: oracle.iam.platform.entitymgr.vo.ConnectivityException: java.lang.IllegalArgumentException: Null input buffer] An error occurred while finding the change log type - oracle.iam.platform.entitymgr.vo.ConnectivityException: java.lang.IllegalArgumentException: Null input buffer

  [IAM-0040017] [oracle.iam.platform.entitymgr.impl] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: ] [APP: oim#] [arg: java.lang.NullPointerException\n    at java.util.Hashtable.get(\n    at oracle.iam.ldapsync.impl.repository.ITResourceRepository.returnConnection(\n  at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.getChangelogType(\n  at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.initialize(\n  at oracle.iam.ldapsync.impl.provider.LDAPSyncDataprovider.initialize(\n  at oracle.iam.platform.entitymgr.impl.EntityManagerConfigImpl.getDataProvider(\n  at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(\n  at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.getEntityCapability(\n  at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.createEntity(\n  at oracle.iam.ldapsync.impl.eventhandlers.user.UserCreateLDAPPreProcessHandler.createUser(\n  at oracle.iam.ldapsync.impl.eventhandlers.user.UserCreateLDAPHandler.execute(\n  at oracle.iam.platform.kernel.impl.OrchProcessData.runPreProcessEvents(\n  at

When attempting to follow Note 1272682.1 "How to Setup LDAP Sync After Install in OIM 11g"
In step 3 of that note:
3. Modify IT Resource "Directory Server" using OIM admin console.
the following error occurs in screen:

"A system error has occurred. Contact the Oracle Identity Manager System Administrator".

The log captured the following error:

 <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcFormDefinitionOperationsBean/getFormFieldPropertyValue encounter some problems: Property 'Column Names' has not defined for the form field '-82'>
 <Error> <XELLERATE.ACCOUNTMANAGEMENT> <BEA-000000> <Class/Method: tcDefaultDBEncryptionImpl/decrypt encounter some problems: Input length must be multiple of 16 when decrypting with padded cipher
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*.


New install and configuration of OIM/OAM 11g.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.