Run pasteConfig.sh on Unix, WLST command setName() throw ArrayIndexOutOfBoundsException (Doc ID 1547420.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Fusion Middleware - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

When running pasteConfig.sh on Unix server, it failed and got following error;

wls:/offline/bifoundation_domain/Machine/obiee11g>cmo.setName('obiee11g')
Error: setName() failed. Do dumpStack() to see details.
wls:/offline/bifoundation_domain/Machine/obiee11g>dumpStack()
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: java.lang.ArrayIndexOutOfBoundsException: 1
       at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
       at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
       at com.oracle.cie.domain.script.jython.ScriptInvocationHandler.invoke(ScriptInvocationHandler.java:143)
       at $Proxy3.setName(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.python.core.PyReflectedFunction.__call__(Unknown Source)
       at org.python.core.PyMethod.__call__(Unknown Source)
       at org.python.core.PyObject.__call__(Unknown Source)
       at org.python.core.PyInstance.invoke(Unknown Source)
       at org.python.pycode._pyx64.f$0(<console>:1)
       at org.python.pycode._pyx64.call_function(<console>)
       at org.python.core.PyTableCode.call(Unknown Source)
       at org.python.core.PyCode.call(Unknown Source)
       at org.python.core.Py.runCode(Unknown Source)
       at org.python.core.Py.exec(Unknown Source)
       at org.python.util.PythonInterpreter.exec(Unknown Source)
       at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
       at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
       at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
       at weblogic.management.scripting.WLST.main(WLST.java:173)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at weblogic.WLST.main(WLST.java:29)
Caused by: com.oracle.cie.domain.script.ScriptException: java.lang.ArrayIndexOutOfBoundsException: 1
       at com.oracle.cie.domain.script.ScriptExecutor.setValue(ScriptExecutor.java:1358)
       at com.oracle.cie.domain.script.jython.ScriptInvocationHandler.set(ScriptInvocationHandler.java:210)
       at com.oracle.cie.domain.script.jython.ScriptInvocationHandler.invoke(ScriptInvocationHandler.java:103)
       ... 25 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
       at com.oracle.cie.domain.aspect.XBeanConfigAspect.fixReferences(XBeanConfigAspect.java:126)
       at com.oracle.cie.domain.aspect.AbstractConfigAspect.setBeanValueArray(AbstractConfigAspect.java:893)
       at com.oracle.cie.domain.aspect.XBeanDomainConfigAspect.setBeanValueArray(XBeanDomainConfigAspect.java:428)
       at com.oracle.cie.domain.operation.config.HDomainConfig.updateContents(HDomainConfig.java:87)
       at com.oracle.cie.domain.operation.HTableEditOperation.acceptChanges(HTableEditOperation.java:591)
       at com.oracle.cie.domain.script.ScriptExecutor.setAttrValue(ScriptExecutor.java:3614)
       at com.oracle.cie.domain.script.ScriptExecutor.setValue(ScriptExecutor.java:1336)
       ... 27 more

 


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