Unable to Login to WebCenter Portal After Migrating the External LDAP from OID to OUD - Any Attempt to Login Results in: Internal Error (Doc ID 2235092.1)

Last updated on JUNE 22, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms


When attempting to Login to WebCenter Portal after moving the external LDAP from OID to OUD, the following error occurs.

ERROR

[2017-02-03T22:54:13.256+00:00] [WC_Spaces] [WARNING] [] [oracle.webcenter.framework.service.Utility] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 2aa6fa702630e8ed:2be71394:15a0629d511:-8000-000000000000005f,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000Lc6BnRAFw000jzwkno1O_GYd000004] [[

java.lang.NullPointerException
    at oracle.security.idm.providers.stdldap.LDIdentityStore.getUserPropertyNames(LDIdentityStore.java:998)
    at oracle.security.idm.providers.stdldap.LDUser.getAllUserProperties(LDUser.java:622)
    at oracle.webcenter.framework.security.idm.WebCenterUserImpl.initUserProperties(WebCenterUserImpl.java:1449)
    at oracle.webcenter.framework.security.idm.WebCenterUserImpl.<init>(WebCenterUserImpl.java:87)
    at oracle.webcenter.peopleconnections.profile.internal.model.CompositeUserProfileImpl.<init>(CompositeUserProfileImpl.java:64)
...


[2017-02-03T22:54:14.206+00:00] [WC_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp.internal.view.webapp] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: wcadmin] [ecid: 2aa6fa702630e8ed:2be71394:15a0629d511:-8000-0000000000000063,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000Lc6BnRAFw000jzwkno1O_GYd000004] [[
oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during loading Customizations.
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:248)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:240)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1822)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:667)

...
Caused by: java.lang.NullPointerException
    at oracle.security.idm.providers.stdldap.LDIdentityStore.getUserPropertyNames(LDIdentityStore.java:998)
    at oracle.security.idm.providers.stdldap.LDUser.getAllUserProperties(LDUser.java:622)
    at oracle.webcenter.framework.security.idm.WebCenterUserImpl.initUserProperties(WebCenterUserImpl.java:1449)
    at oracle.webcenter.framework.security.idm.WebCenterUserImpl.<init>(WebCenterUserImpl.java:87)
    at oracle.webcenter.peopleconnections.profile.internal.model.CompositeUserProfileImpl.<init>(CompositeUserProfileImpl.java:64)
    at oracle.webcenter.peopleconnections.profile.internal.model.LDAPUserFactory.createUser(LDAPUserFactory.java:43)
...

## Detail 0 ##
java.lang.NullPointerException
    at oracle.security.idm.providers.stdldap.LDIdentityStore.getUserPropertyNames(LDIdentityStore.java:998)
    at oracle.security.idm.providers.stdldap.LDUser.getAllUserProperties(LDUser.java:622)
    at oracle.webcenter.framework.security.idm.WebCenterUserImpl.initUserProperties(WebCenterUserImpl.java:1449)
    at oracle.webcenter.framework.security.idm.WebCenterUserImpl.<init>(WebCenterUserImpl.java:87)
    at oracle.webcenter.peopleconnections.profile.internal.model.CompositeUserProfileImpl.<init>(CompositeUserProfileImpl.java:64)
    at oracle.webcenter.peopleconnections.profile.internal.model.LDAPUserFactory.createUser(LDAPUserFactory.java:43)

...

[2017-02-03T22:54:15.664+00:00] [WC_Spaces] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: wcadmin] [ecid: 2aa6fa702630e8ed:2be71394:15a0629d511:-8000-0000000000000063,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000Lc6BnRAFw000jzwkno1O_GYd000004] Failed to get the correct page due to null, so defaulting to /system/WCErrorPage.jsp

[2017-02-03T22:54:15.667+00:00] [WC_Spaces] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: wcadmin] [ecid: 2aa6fa702630e8ed:2be71394:15a0629d511:-8000-0000000000000063,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000Lc6BnRAFw000jzwkno1O_GYd000004] Internal Error (WCS#2017.02.03.22.54.15)

[2017-02-03T22:54:16.611+00:00] [WC_Spaces] [WARNING] [WCS-19338] [oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: wcadmin] [ecid: 2aa6fa702630e8ed:2be71394:15a0629d511:-8000-0000000000000065,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000Lc6BnRAFw000jzwkno1O_GYd000004] Could not retrieve display name for user wcadmin due to null

[2017-02-03T22:54:16.630+00:00] [WC_Spaces] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: wcadmin] [ecid: 2aa6fa702630e8ed:2be71394:15a0629d511:-8000-0000000000000065,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000Lc6BnRAFw000jzwkno1O_GYd000004] Internal Error (WCS#2017.02.03.22.54.16)




STEPS

The issue can be reproduced at will with the following steps:

  1. Move the external LDAP from OID to OUD.


  2. Try to login to WebCenter Portal.
    Here you will see the errors in the spaces diagnostic log.

 

Changes

 

Moved the external LDAP associated to WebCenter Portal from OID to OUD.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms