My Oracle Support Banner

Exporting Full ODI Deployment Archive Fails with "String index out of range" (Doc ID 2668571.1)

Last updated on MAY 15, 2020

Applies to:

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

Symptoms

When attempting to export a full deployment archive in Oracle Data Integrator (ODI) 12.2.1.3 or earlier, it fails with the following error message in the Studio log, and a shorter version in the Studio UI:

ODI-11010: Error occurred while Creating the Deployment Archive file [[
ODI-11007: Error occurred while exporting ODI Repository
ODI-11014: Error while exporting Repository Object
String index out of range: 21
  at oracle.odi.ui.rm.RmAdapter$4.doInTransaction(RmAdapter.java:494)
  at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
  at oracle.odi.ui.rm.RmAdapter.createDAFromfullRepo(RmAdapter.java:484)
  at oracle.odi.ui.rm.RmCreateDAFullRepoDialog$1.doLongOperation(RmCreateDAFullRepoDialog.java:108)
  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:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
Caused by: oracle.odi.core.service.deployment.DeploymentServiceException: ODI-11010: Error occurred while Creating the Deployment Archive file
ODI-11007: Error occurred while exporting ODI Repository
ODI-11014: Error while exporting Repository Object
String index out of range: 21
  at oracle.odi.core.service.deployment.DeploymentService.createDeploymentArchiveFromRepo(DeploymentService.java:293)
  at oracle.odi.ui.rm.RmAdapter$4.doInTransaction(RmAdapter.java:490)
  ... 11 more
Caused by: oracle.odi.core.service.impexp.OdiImportExportException: ODI-11007: Error occurred while exporting ODI Repository
ODI-11014: Error while exporting Repository Object
String index out of range: 21
  at oracle.odi.core.service.impexp.LCMImportExportService.exportOdiRepositoryToFolder(LCMImportExportService.java:834)
  at oracle.odi.core.service.deployment.DeploymentService.createDeploymentArchiveFromRepo(DeploymentService.java:289)
  ... 12 more
Caused by: oracle.odi.core.service.impexp.OdiImportExportException: ODI-11014: Error while exporting Repository Object
String index out of range: 21
  at oracle.odi.core.service.impexp.LCMImportExportService.exportDwgObjectsToFolder(LCMImportExportService.java:257)
  at oracle.odi.core.service.impexp.LCMImportExportService.exportMasterRepositoryObjects(LCMImportExportService.java:910)
  at oracle.odi.core.service.impexp.LCMImportExportService.access$400(LCMImportExportService.java:153)
  at oracle.odi.core.service.impexp.LCMImportExportService$3.doInTransaction(LCMImportExportService.java:814)
  at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
  at oracle.odi.core.service.impexp.LCMImportExportService.exportOdiRepositoryToFolder(LCMImportExportService.java:806)
  ... 13 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 21
  at java.lang.String.charAt(String.java:658)
  at com.sunopsis.tools.core.SnpsStringTools.replaceEscapeCharacters(SnpsStringTools.java:1101)
  at com.sunopsis.tools.core.SnpsStringTools.buildCompactString(SnpsStringTools.java:185)
  at com.sunopsis.core.FileTools.generateNewFileNameFromObjectName(FileTools.java:357)
  at oracle.odi.core.service.vcs.generic.utils.OdiVcsUtils.getExportFileName(OdiVcsUtils.java:407)
  at oracle.odi.core.service.impexp.LCMImportExportService.exportDwgObjectsToFolder(LCMImportExportService.java:620)
  at oracle.odi.core.service.impexp.LCMImportExportService.exportDwgObjectsToFolder(LCMImportExportService.java:255)
  ... 18 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!


In this Document
Symptoms
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.