Importing a project into a copied repository fails

(Doc ID 1025984.1)

Last updated on AUGUST 28, 2013

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.3 and later
Information in this document applies to any platform.
Checked for relevance on 15-April-2011
***Checked for relevance on 28-August-2013***

Symptoms

Encountering the following exception when trying to import a project into the repository.

SEVERE: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at com.stc.importexport.view.MultipleImportDialog.initProjectReplaceDialog(MultipleImportDialog.java:2288)
at com.stc.importexport.view.MultipleImportDialog.promptUserToReplaceProject(MultipleImportDialog.java:2208)
[catch] at com.stc.importexport.view.MultipleImportDialog.doImport(MultipleImportDialog.java:1913)
at com.stc.importexport.view.MultipleImportDialog.access$400(MultipleImportDialog.java:111)
at com.stc.importexport.view.MultipleImportDialog$4$1.run(MultipleImportDialog.java:1181)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

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