My Oracle Support Banner

"java.lang.StringIndexOutOfBoundsException: String index out of range" Error when Adding a New ODI File Based Data Server to VCS SVN (Doc ID 2547320.1)

Last updated on MAY 29, 2019

Applies to:

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

Symptoms

Using Oracle Data Integrator (ODI) 12c, in an environment where ODI is configured with Apache Subversion (SVN) or git, when attempting to "Add to VCS" a new file-based Data Server, the following error occurs:

Unexpected error occurred

java.lang.StringIndexOutOfBoundsException: String index out of range: 36
  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:408)
  at oracle.odi.core.service.vcs.svn.operations.OdiSvnAdd.addAllObjectsInternal(OdiSvnAdd.java:541)
  at oracle.odi.core.service.vcs.svn.operations.OdiSvnAdd.addAllObjects(OdiSvnAdd.java:515)
  at oracle.odi.ui.vcs.svn.SubversionAddDialog.addToVCS(SubversionAddDialog.java:43)
  at oracle.odi.ui.vcs.VcsAddDialog$5.doLongOperation(VcsAddDialog.java:460)
  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:745)

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.