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 06, 2023

Applies to:

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

Symptoms

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> .[[
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)

]]
..
..


And/Or:

...
[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.[[
null
at oracle.ldap.odip.engine.ProfileManager.updateProfileChgNum(ProfileManager.java:1022)
at oracle.idm.integration.sync.profile.SyncProfileOIDDAO.updateProfileChgNum(SyncProfileOIDDAO.java:3136)
at oracle.idm.integration.sync.profile.SyncProfileOIDDAO.bootstrap(SyncProfileOIDDAO.java:3475)
at oracle.idm.integration.bean.SyncProfileBean.bootstrap(SyncProfileBean.java:2496)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:918)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:103)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:192)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:423)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:314)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:442)

...


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.



Changes

 

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
Changes
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.