IBM Support

Error: String index out of range: 0 when attempt to verify URL Mapping during Server Rename

Troubleshooting


Problem

When attempting to perform verify URL mapping during server rename process for IBM Engineering Lifecycle Management (ELM), you may encounter the following error in the repotools-jts_verifyURLMappings.log:
2020-01-01 12:12:12,123 String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.substring(String.java:2715)
	at com.ibm.team.jfs.app.util.jpimapping.internal.URIPairFileParser.getURIPairs(URIPairFileParser.java:76)
	at com.ibm.team.jfs.app.util.jpimapping.internal.URIPairFileParser.getURIPairs(URIPairFileParser.java:138)
	at com.ibm.team.repotools.commands.remote.internal.VerifyURLMappingsCommand.loadURLMappingsFromFile(VerifyURLMappingsCommand.java:428)
	at com.ibm.team.repotools.commands.remote.internal.VerifyURLMappingsCommand.verifyMappingFileAgainstServer(VerifyURLMappingsCommand.java:129)
	at com.ibm.team.repotools.commands.remote.internal.VerifyURLMappingsCommand.execute(VerifyURLMappingsCommand.java:101)
	at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:68)
	at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:838)
	at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:928)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:508)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

Symptom

If this error is present in your repotools-jts_verifyURLMappings.log, you will not be able to proceed with the ELM Server Rename.

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSPRJQ","label":"IBM Engineering Lifecycle Management Base"},"ARM Category":[{"code":"a8m50000000L1JVAA0","label":"Continuous Engineering-\u003EServer Rename"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
19 June 2020

UID

ibm16234280