"Error occurred while looking up the entity in LDAP" Failure when Attempting to Create User in New OIM LDAPSync Instance
(Doc ID 2391103.1)
Last updated on OCTOBER 08, 2021
Applies to:
Identity Manager - Version 11.1.2.0.9 to 11.1.2.3.180331 [Release 11g]Information in this document applies to any platform.
Symptoms
Needed an different realm like dc=oid,dc=example,dc=com from old realm of dc=prod,dc=test1,dc=company,dc=com.
Created the new realm using oidrealm tool and enabled ldapsync to this realm.
Unable to create user in OIM as it throws below error.
... [oim_server_host1] [ERROR] [] [oracle.iam.platform.entitymgr.provider.ldap] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ... [APP: oim#11.1.2.0.0] An error occurred while looking up the entity in LDAP, and the corresponding error is - {0}[[
java.lang.NullPointerException
at javax.naming.InitialContext.getURLScheme(InitialContext.java:269)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:377)
at javax.naming.directory.InitialDirContext.getURLOrDefaultInitDirCtx(InitialDirContext.java:101)
at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:133)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.getAttributes(LDAPUtil.java:1181)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lookup(LDAPDataProvider.java:1027)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(EntityManagerImpl.java:624)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(EntityManagerImpl.java:567)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.createEntity(EntityManagerImpl.java:299)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.NullPointerException
at javax.naming.InitialContext.getURLScheme(InitialContext.java:269)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:377)
at javax.naming.directory.InitialDirContext.getURLOrDefaultInitDirCtx(InitialDirContext.java:101)
at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:133)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.getAttributes(LDAPUtil.java:1181)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lookup(LDAPDataProvider.java:1027)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(EntityManagerImpl.java:624)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.findEntity(EntityManagerImpl.java:567)
at oracle.iam.platform.entitymgr.impl.EntityManagerImpl.createEntity(EntityManagerImpl.java:299)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
The OVD log shows conflict:
REQUEST dn=cn=Users,cn=testAccounts,dc=prod,dc=test1,dc=company,dc=com suffix=dc=oid,dc=example,dc=com
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |