My Oracle Support Banner

GIT Merge from Branch to Trunk Repository Fails with 'ODI-17591: Name "XXX" is already used' (Doc ID 2485739.1)

Last updated on AUGUST 31, 2023

Applies to:

Oracle Data Integrator - Version 12.2.1.2.6 to 12.2.1.3.221018 [Release 12c]
Oracle Data Integrator Cloud Service - Version 17.1.3 to 17.2.1
Information in this document applies to any platform.

Symptoms

NOTE: In the images below and/or the attached document, user details / company name / address / email / telephone number represent a fictitious sample (based upon made up data used in the Oracle Demo Vision instance). Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

In an Oracle Data integrator (ODI) environment configured with GIT Versioning (patches applied: Patch 25497256, Patch 26670993, Patch 27814401), there are multiple branch Repositories created from a full tag based on the main trunk Repository.

The following error is received when a merge operation is executed from a branch Repository back to the trunk Repository having "Use object change detection" and "Use three way compare" options checked:

[2018-09-20T17:23:58.697+03:00] [] [NOTIFICATION] [] [] [tid: 168] [ecid: <ECID>] -->> SmartMergeService.processFiles processing file: <FILE>
[2018-09-20T17:24:08.431+03:00] [odi] [ERROR] [] [oracle.odi.core.persistence] [tid: 168] [ecid: <ECID>] java.lang.RuntimeException: com.sunopsis.core.SnpsNamespaceException: ODI-17591: Name "TEST_COL1" is already used.[[
   at oracle.odi.core.service.merge.SmartMergeImportUtil$6$1.doAction(SmartMergeImportUtil.java:2548)
   at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)
   at oracle.odi.core.service.merge.SmartMergeImportUtil$6.doInTransaction(SmartMergeImportUtil.java:2537)
   at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
   at oracle.odi.core.service.merge.SmartMergeImportUtil.applyMergeResultTree(SmartMergeImportUtil.java:2532)
   at oracle.odi.core.service.merge.SmartMergeService.processFiles(SmartMergeService.java:1776)
   at oracle.odi.core.service.merge.SmartMergeService.internalBeginMerge(SmartMergeService.java:2135)
   at oracle.odi.core.service.merge.SmartMergeService.access$000(SmartMergeService.java:111)
   at oracle.odi.core.service.merge.SmartMergeService$1$1.doAction(SmartMergeService.java:183)
   at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)
   at oracle.odi.core.service.merge.SmartMergeService$1.doInTransaction(SmartMergeService.java:172)
   at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
   at oracle.odi.core.service.merge.SmartMergeService.beginMerge(SmartMergeService.java:167)
   at oracle.odi.ui.smartie.merge.BranchMergeDialog$1.doLongOperation(BranchMergeDialog.java:121)
   at oracle.cef.ui.Framework$5.doInBackground(Framework.java:726)
   at oracle.cef.ui.Framework$5.doInBackground(Framework.java:718)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at javax.swing.SwingWorker.run(SwingWorker.java:334)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:748)
Caused by: com.sunopsis.core.SnpsNamespaceException: ODI-17591: Name "TEST_COL1" is already used.
   at com.sunopsis.dwg.dbobj.SnpCol.checkNameUniqueness(SnpCol.java:1254)
   at com.sunopsis.dwg.dbobj.SnpCol.insertBeforeAction(SnpCol.java:1199)
   at com.sunopsis.dwg.DwgObject.insertForDuplication(DwgObject.java:4185)
   at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:4888)
   at com.sunopsis.dwg.DwgDuplicationTools.synonymImport(DwgDuplicationTools.java:4019)
   at com.sunopsis.dwg.DwgObject.importFromObjectLst(DwgObject.java:9960)
   at com.sunopsis.dwg.DwgObject.internalImportObjectList(DwgObject.java:8654)
   at com.sunopsis.dwg.DwgObject.importObjectList(DwgObject.java:9222)
   at oracle.odi.core.service.merge.SmartMergeImportUtil.internalImportObjList(SmartMergeImportUtil.java:1617)
   at oracle.odi.core.service.merge.SmartMergeImportUtil$6$1.doAction(SmartMergeImportUtil.java:2544)
... 21 more

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!


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