IBM Support

An ArrayIndexOutOfBoundsException error occurs when installing Rational Software Architect

Troubleshooting


Problem

The installation of IBM® Rational® Software Architect fails at about 85% of the way and the following error appears in the installation log: [] An internal error occurred during: "Install Packages". java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1 [] This technote discusses known causes and solutions to this problem.

Symptom

An example of the error's full stack trace that can be seen in the installation log (located in the directory C:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\logs) is as follows:


<exception>
  java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
  <stack>com.ibm.cic.common.core.utils.PlatformUtils.getEnvVars(PlatformUtils.java:245)</stack>
  <stack>com.ibm.cic.common.core.utils.PlatformUtils.getEnvironmentVariable(PlatformUtils.java:180)</stack>
  <stack>com.ibm.cic.agent.core.AbstractVariableSubstitution.substituteNoVP(AbstractVariableSubstitution.java:177)</stack>
  <stack>com.ibm.cic.agent.core.AbstractInstallOperation.substitute(AbstractInstallOperation.java:189)</stack>
  <stack>com.ibm.cic.agent.core.AbstractVariableSubstitution.performVariableSubstitutions(AbstractVariableSubstitution.java:94)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.AbstractExecInstallOperation.getArguments(AbstractExecInstallOperation.java:43)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.InvokeInstallOperation.perform(InvokeInstallOperation.java:53)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.ICommonNativeInstallAdapter.processCommonPerformOperation(ICommonNativeInstallAdapter.java:366)</stack>
  <stack>com.ibm.cic.agent.internal.adapters.nativeAdapter.NativeInstallAdapter.customOperation(NativeInstallAdapter.java:192)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.ICommonNativeInstallAdapter.handlePerformOperation(ICommonNativeInstallAdapter.java:297)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.ICommonNativeInstallAdapter.processCommonOperation(ICommonNativeInstallAdapter.java:317)</stack>
  <stack>com.ibm.cic.agent.internal.adapters.nativeAdapter.NativeInstallAdapter.dispatcher(NativeInstallAdapter.java:134)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.ICommonNativeInstallAdapter.performMain(ICommonNativeInstallAdapter.java:233)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.ICommonNativeInstallAdapter.performOtherPhase(ICommonNativeInstallAdapter.java:111)</stack>
  <stack>com.ibm.cic.agent.core.commonNativeInstallAdapter.ICommonNativeInstallAdapter.perform(ICommonNativeInstallAdapter.java:86)</stack>
  <stack>com.ibm.cic.agent.internal.adapters.nativeAdapter.NativeInstallAdapter.install(NativeInstallAdapter.java:68)</stack>
  <stack>com.ibm.cic.agent.core.Engine$Phase$Install.performIU(Engine.java:443)</stack>
  <stack>com.ibm.cic.agent.core.Engine$Phase$IUPhase.doPerform(Engine.java:326)</stack>
  <stack>com.ibm.cic.agent.core.Engine$Phase.perform(Engine.java:264)</stack>
  <stack>com.ibm.cic.agent.core.Engine$Phase.perform(Engine.java:177)</stack>
  <stack>com.ibm.cic.agent.core.Engine.install(Engine.java:76)</stack>
  <stack>com.ibm.cic.agent.internal.core.Director$EngineInstallOperation.perform(Director.java:1467)</stack>
  <stack>com.ibm.cic.agent.internal.core.Director.performEngineOperations(Director.java:1394)</stack>
  <stack>com.ibm.cic.agent.internal.core.Director.installOfferingOrFix(Director.java:544)</stack>
  <stack>com.ibm.cic.agent.internal.core.Director.install(Director.java:395)</stack>
  <stack>com.ibm.cic.agent.internal.core.Director.install(Director.java:265)</stack>
  <stack>com.ibm.cic.agent.core.Agent.install(Agent.java:1573)</stack>
  <stack>com.ibm.cic.agent.internal.ui.wizards.InstallWizard.performTask(InstallWizard.java:201)</stack>
  <stack>com.ibm.cic.agent.internal.ui.wizards.AbstractAgentUIWizard$2.run(AbstractAgentUIWizard.java:231)</stack>
  <stack>com.ibm.cic.common.ui.internal.parts.ProgressPart$ProgressJob.run(ProgressPart.java:92)</stack>
  <stack>org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)</stack>
 </exception>

In the above stack trace you can see that the Installation Manager failed to retrieve the Environment

variable with the method: com.ibm.cic.common.core.utils.PlatformUtils.getEnvVars

[{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Installation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Install \/ Migration","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSJP3D","label":"Rational Systems Developer"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Install \/ Migration","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSCLKU","label":"Rational Software Modeler"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Install \/ Migration","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3","Edition":"","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:
10 September 2020

UID

swg21269510