My Oracle Support Banner

DIP 12c AD to OID Sync 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 AUGUST 18, 2021

Applies to:

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

Symptoms

1. DIP Server set for import sync from AD Server to OID 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> .[[
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:460)
at oracle.ldap.odip.gsi.ActiveChgReader.initialise(ActiveChgReader.java:191)
at oracle.ldap.odip.web.DIPSyncBean.readerInitialise(DIPSyncBean.java:516)
at oracle.ldap.odip.web.DIPSyncBean.mapInitialise(DIPSyncBean.java:557)
at oracle.ldap.odip.web.DIPSyncBean.execMapping(DIPSyncBean.java:466)
at oracle.ldap.odip.web.DIPSyncBean.doOneIteration(DIPSyncBean.java:355)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invokeInternal(SessionRemoteMethodInvoker.java:54)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:21)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.doOneIteration(Unknown Source)
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(SyncQuartzJobImpl.java:178)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

]]
..
..

 
3. Sync stop working.

 

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


$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


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.



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.