My Oracle Support Banner

DIP 12c AD to OID / OUD Fails. Log Shows: "Unknown Error Encountered" "orclodipConDirLastAppliedChgNum: null" / DIP-10008 error in mapping engine <PROFILE> / java.lang.NullPointerException. Profile lacn (orclodipcondirlastappliedchgnum) Is Set to "null" (Doc ID 2633865.1)

Last updated on MARCH 25, 2024

Applies to:

Oracle Internet Directory - Version and later
Oracle Unified Directory - Version and later
Microsoft Windows x64 (64-bit)


1. DIP Server set for import sync from AD Server to OID OR OUD 12c. But suddenly LACN ( Last Applied Change Number ) is lost. This value is stored in the orclodipcondirlastappliedchgnum sync attribute and its value is reported as null in the log file.

2. Next error reported in the wls_ods-diagnostic.log file constantly:

[2020-01-07T16:34:45.469-05:00] [wls_ods1] [NOTIFICATION] [DIP-10032] [oracle.dip.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Updated attributes : {orclOdipProfileMetric;success_count=orclOdipProfileMetric;success_count: 0, orclOdipSynchronizationStatus=orclOdipSynchronizationStatus: Mapping Failure, Agent Execution Not Attempted, orclodipLastExecutionTime=orclodipLastExecutionTime: 20200107163445, orclOdipProfileMetric;failure_count=orclOdipProfileMetric;failure_count: 0, orclOdipSynchronizationErrors=orclOdipSynchronizationErrors: Unknown Error Encountered, orclodipConDirLastAppliedChgNum=orclodipConDirLastAppliedChgNum: null}, {1}, {2}, {3}.
[2020-01-07T16:34:45.469-05:00] [wls_ods1] [TRACE] [DIP-10204] [oracle.dip.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.ldap.odip.gsi.LDAPConnector] [SRC_METHOD: connectLdap] LDAP URL : <AD_SERVER_NAME> : <AD_LDAP_PORT> <AD_USER_SET_AT_SYNC_PROFILE>.
[2020-01-07T16:34:45.469-05:00] [wls_ods1] [TRACE] [] [oracle.dip.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.ldap.odip.gsi.LDAPConnector] [SRC_METHOD: setJNDIEnvironmentForLDAPBinaryAttrs] Specifying binary attributes: mpegvideo objectguid objectsid guid usercertificate orclodipcondirlastappliedchgnum
[2020-01-07T16:34:45.484-05:00] [wls_ods1] [TRACE] [DIP-10147] [oracle.dip.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.ldap.odip.gsi.LDAPConnector] [SRC_METHOD: connectLdap] Successfully connected to directory server.
[2020-01-07T16:34:45.484-05:00] [wls_ods1] [ERROR] [DIP-10008] [oracle.dip.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] error in mapping engine <PROFILE> .[[
at java.util.Hashtable.put(
at oracle.ldap.odip.gsi.ActiveChgReader.initialise(
at oracle.ldap.odip.web.DIPSyncBean.readerInitialise(
at oracle.ldap.odip.web.DIPSyncBean.mapInitialise(
at oracle.ldap.odip.web.DIPSyncBean.execMapping(
at oracle.ldap.odip.web.DIPSyncBean.doOneIteration(
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invokeInternal(
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.doOneIteration(Unknown Source)
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(
at org.quartz.simpl.SimpleThreadPool$



[2023-01-16T11:44:57.375+01:00] [wls_ods1] [ERROR] [DIP-85014] [oracle.dip.mbean.sync] [tid: SyncProfileMBean] [userId: <user id>] [ecid: <ecid>] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Exception while updating the profile last applied change number.[[
at oracle.ldap.odip.engine.ProfileManager.updateProfileChgNum(
at oracle.idm.integration.sync.profile.SyncProfileOIDDAO.updateProfileChgNum(
at oracle.idm.integration.sync.profile.SyncProfileOIDDAO.bootstrap(
at oracle.idm.integration.bean.SyncProfileBean.bootstrap(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(
at Method)


3. Sync stops working.


4. Running ldapsearch to get “Last Applied Change Number” from the sync profile not returns value. Command sample:

For OID:
$ORACLE_HOME/bin/ldapsearch -h <OID_SERVER_NAME> -p <OID_PORT> -D cn=orcladmin -w <PASSWORD> -b "orclODIPAgentName=<PROFILE_NAME>,cn=subscriber profile,cn=changelog Subscriber,cn=oracle internet directory" -s sub "objectclass=* orclodipConDirLastAppliedChgNum

For OUD:

$ORACLE_HOME/bin/ldapsearch -h <OUD_SERVER_NAME> -p <OUD_PORT> -D "cn=Directory Manager" -j ./passwordtxt --useSSL --trustAll -b "orclodipagentname=<SYNC_PROFILE_NAME>,cn=subscriber profile,cn=changelog subscriber,cn=directory integration platform,cn=products,cn=OracleContext" -s sub "objectclass=* orclodipConDirLastAppliedChgNum

5. This error is reported in the wls_ods1 log files even when the sync profile is disabled it.

6. Also wls_ods1 log files and diagnostic files continue growing up constantly consuming space in hard disk.


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

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