My Oracle Support Banner

Running upgradeWebCenterPortal fails with: oracle.mds.exception.DuplicateRefException: MDS-00010: DuplicateRefException (Doc ID 2861906.1)

Last updated on APRIL 11, 2022

Applies to:

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

Symptoms

Running the upgradeWebCenterPortal command for upgrading WebCenter Portal from 11g to 12c fails with the following error:


ERROR


UpgradeDiagnostic.log

[TRACE]: Data migration from MDS to database could not be completed successfully. Review the log files for details to fix the errors, and run the upgrade again to migrate the failed portals/portal templates.

[TRACE]: Exiting class: LifecycleHandler, method: _doMDSToDBDataMigration

[TRACE]: Failed to upgrade WebCenter Portal application.

 

UpgradeDetails.log

#######################################################

Upgrade Run: 1
#######################################################

...

-------------------------------------------------------
Scope: Name=<PORTAL_NAME>, GUID=<PORTAL_GUID>
-------------------------------------------------------
Status: Scope upgrade failed.
oracle.mds.exception.DuplicateRefException: MDS-00010: DuplicateRefException. In document /oracle/webcenter/page/scopedMD/<PORTAL_GUID>/<PAGE>.jspx there are multiple elements with the same ID <DUPLICATE_ID>.
at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:2820)
at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:2897)
at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:2897)
at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:2897)

 


STEPS

The issue can be reproduced with the following steps:

  1. Run the upgradeWebCenterPortal command to upgrade WebCenter Portal from 11g to 12c.
     
     
  2. Review the upgrade logs.

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


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