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
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
10 September 2020
UID
swg21269510