ODI-11002 and "ODI-14155: Context code is not unique" Errors when Importing Objects into ODI 12c

(Doc ID 2327129.1)

Last updated on NOVEMBER 21, 2017

Applies to:

Oracle Data Integrator - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When using Studio to import a Deployment Patch into an Oracle Data Integrator 12.2.1 target environment, the following error occurs.

SEVERE: java.lang.RuntimeException: oracle.odi.core.service.impexp.OdiImportExportException: ODI-11002: Error occurred while importing Objects
ODI-14155: Context code is not unique.
  at oracle.odi.core.service.impexp.LCMImportExportService$7.doInTransaction(LCMImportExportService.java:1311)
  at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
  at oracle.odi.core.service.impexp.LCMImportExportService.importOdiObjectsFromFolder(LCMImportExportService.java:1299)
  at oracle.odi.core.service.deployment.DeploymentService.internalApplyDeploymentArchive(DeploymentService.java:837)
  at oracle.odi.core.service.deployment.DeploymentService.applyPatchDeploymentArchive(DeploymentService.java:798)
...
Caused by: oracle.odi.core.service.impexp.OdiImportExportException: ODI-11002: Error occurred while importing Objects
ODI-14155: Context code is not unique.
  at oracle.odi.core.service.impexp.LCMImportExportService.doImportFromFolder(LCMImportExportService.java:1487)
  at oracle.odi.core.service.impexp.LCMImportExportService.access$600(LCMImportExportService.java:153)
  at oracle.odi.core.service.impexp.LCMImportExportService$7.doInTransaction(LCMImportExportService.java:1305)
... 16 more
Caused by: com.sunopsis.core.SnpsNamespaceException: ODI-14155: Context code is not unique.
  at com.sunopsis.dwg.dbobj.SnpContext.checkNameAndCodeUniqueness(SnpContext.java:603)
  at com.sunopsis.dwg.dbobj.SnpContext.insertBeforeAction(SnpContext.java:531)
  at com.sunopsis.dwg.DwgObject.insertForDuplication(DwgObject.java:4185)
  at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:4876)
  at com.sunopsis.dwg.DwgDuplicationTools.synonymImport(DwgDuplicationTools.java:4007)
  at com.sunopsis.dwg.DwgObject.importFromObjectLst(DwgObject.java:10012)
  at com.sunopsis.dwg.DwgObject.internalImportObjectList(DwgObject.java:8654)
  at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:9134)
  at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:7569)
...

Changes

 

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