After Agent upgrade all Jobs fail

Document ID : KB000084444
Last Modified Date : 14/04/2018
Show Technical Document Details
Error Message :
+++++++++++++++++++++++++++++++++++++ Start of Runtime Exception ++++++++++++++++++++++++++++++++++++
java.lang.ArrayIndexOutOfBoundsException: 1
at org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayGetAtMetaMethod$
at OracleRetailAgentImpl$_getEnvMap_closure2.doCall(OracleRetailAgent.groovy:734)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.codehaus.groovy.reflection.CachedMethod.invoke(
at groovy.lang.MetaMethod.doMethodInvoke(
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMeth

When trying to run a job using the RA Oracle Retail Agent, the job fails with the above error in the job report.
OS Version: N/A
Cause type:
By design
Root Cause: The Agent uses the environment (env) and any blank values for those variables will cause the error to occur, as the Agent expects a value for each variable.
Check the environment variables with the command env. There will be a list of environment variables, for example:

Ensure that all of the environment variables have a value after them. Any blank values will cause the error, so the variables will either have to be removed or filled with appropriate values. Once the blank values are resolved then the error will no longer occur.  For example:
ENV_VAR1 =                   <-- Will result in an error
ENV_VAR1 = VALUE1        <-- No error will be displayed

Fix Status: No Fix

Fix Version(s):
Additional Information:
Workaround :