My Oracle Support Banner

***** ASSERTION FAILED ***** Error when Creating User in OIM and have LDAPSync Configured to AD Server for LDAP (Doc ID 2520437.1)

Last updated on AUGUST 30, 2023

Applies to:

Identity Manager - Version 11.1.2.3.0 to 12.2.1.3 [Release 11g to 12c]
Information in this document applies to any platform.

Symptoms

LDAPSync to AD is failing to create users.

Getting the following errors in the log:
--------------------------
[...] [ERROR] [] [oracle.iam.platform.entitymgr.provider.ldap] [tid: [ACTIVE].ExecuteThread: TID for queue: 'weblogic.kernel.Default (self-tuning)'] [...] [APP: oim#11.1.2.0.0] An error occurred while creating the entity in LDAP, and the corresponding error is - {0}[[
javax.naming.CommunicationException: Error: PROTOCOL_ERROR
LDAP Error 2 : simple bind failed: ActiveDirectoryServerHost:PORT [Root exception is oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 2 : simple bind failed: ActiveDirectoryServerHost:PORT]
at oracle.ods.virtualization.jndi.OVDUtil.mapErrorCode(OVDUtil.java:93)
at oracle.ods.virtualization.jndi.OVDContext.createSubcontext(OVDContext.java:515)
at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:202)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.createSubcontext(LDAPUtil.java:1226)
.
.
Caused by: oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 2 : simple bind failed:ActiveDirectoryServerHost:PORT
at oracle.ods.virtualization.operation.AddOperation.process(AddOperation.java:136)
.
Caused by: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 2 : simple bind failed: ActiveDirectoryServerHost:PORT
at oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:1126)
.
.
Caused by: javax.naming.CommunicationException: simple bind failed: ActiveDirectoryServerHost:PORT [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:218)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2740)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:316)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
.
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
.
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.validator.PKIXValidator.(PKIXValidator.java:90)
at sun.security.validator.Validator.getInstance(Validator.java:179)
at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:314)
.
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
.
[...] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: TID for queue: 'weblogic.kernel.Default (self-tuning)'] [...] [APP: oim#11.1.2.0.0] IAM-3010004:An error occurred while deleting LDAP user in the compensate stage.:[[
oracle.iam.platform.kernel.EventFailedException: IAM-3010004:An error occurred while deleting LDAP user in the compensate stage.:
at oracle.iam.ldapsync.impl.util.LDAPSyncUtil.createEventFailedException(LDAPSyncUtil.java:1411)
at oracle.iam.ldapsync.impl.util.LDAPSyncUtil.createEventFailedException(LDAPSyncUtil.java:1422)
at oracle.iam.ldapsync.impl.eventhandlers.user.UserCreateLDAPHandler.compensate(UserCreateLDAPHandler.java:69)
at oracle.iam.ldapsync.impl.eventhandlers.user.UserCreateLDAPPreProcessHandler.compensate(UserCreateLDAPPreProcessHandler.java:287)
at oracle.iam.platform.kernel.impl.OIMEvent.executeCompensate(OIMEvent.java:131)
,

[...] [SERVERNAME] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: TID for queue: 'weblogic.kernel.Default (self-tuning)'] [...] [APP: oracle.iam.console.identity.self-service.ear#V2.0] ADF: Adding the following JSF error message: A error occurred the server; nested exception is: [[
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ]; nested exception is: java.rmi.ServerError: A error occurred the server; nested exception is:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ] oracle.jbo.JboException: JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=A error occurred the server; nested exception is:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ]; nested exception is: java.rmi.ServerError: A error occurred the server; nested exception is:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ cannot unmarshaling throwable ]
at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:732)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2181)

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


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