Weblogic Domain Cloning in Enterprise Manager 12c Cloud Control Fails with WLSTException: java.lang.reflect.InvocationTargetException (Doc ID 1610195.1)

Last updated on JANUARY 03, 2017

Applies to:

Enterprise Manager for Fusion Middleware - Version 12.1.0.3.0 to 12.1.0.5.0
Information in this document applies to any platform.

Symptoms

Cloning a WebLogic Domain fails in Enterprise Manager (EM) 12c Cloud Control with following error.

Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Enter Node Manager Password:*** Read Domain environment /oracle/domains/test_domain
Provision Machine using action Set
resourcePath: []
setting Name=test
Error: setName() failed. Do dumpStack() to see details.
Error: set() failed. Do dumpStack() to see details.
com.oracle.cie.domain.script.jython.WLSTException: java.lang.reflect.InvocationTargetException
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.WLScriptContext.set(WLScriptContext.java:1304)
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._pyx3.set$5(/tmp/WLSTOfflineIni1908414056906329703.py:45)
at org.python.pycode._pyx3.call_function(/tmp/WLSTOfflineIni1908414056906329703.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.setResourceAttribute$1(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:39)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.doMachine$12(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:185)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.MachineSet$14(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:202)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.__builtin__.apply(Unknown Source)
at org.python.core.BuiltinFunctions.__call__(Unknown Source)
at org.python.pycode._pyx15.provisionResource$40(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:513)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx15.f$0(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:593)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
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.util.PythonInterpreter.execfile(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:124)
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: java.lang.reflect.InvocationTargetException
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 com.oracle.cie.domain.script.jython.WLScriptContext.set(WLScriptContext.java:1298)
... 49 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy1.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 com.oracle.cie.domain.script.jython.WLScriptContext.set(WLScriptContext.java:1298)
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._pyx3.set$5(/tmp/WLSTOfflineIni1908414056906329703.py:46)
at org.python.pycode._pyx3.call_function(/tmp/WLSTOfflineIni1908414056906329703.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.setResourceAttribute$1(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:39)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.doMachine$12(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:185)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.MachineSet$14(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:202)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.__builtin__.apply(Unknown Source)
at org.python.core.BuiltinFunctions.__call__(Unknown Source)
at org.python.pycode._pyx15.provisionResource$40(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:514)
... 17 more
Caused by: 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 com.sun.proxy.$Proxy1.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 com.oracle.cie.domain.script.jython.WLScriptContext.set(WLScriptContext.java:1298)
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._pyx3.set$5(/tmp/WLSTOfflineIni1908414056906329703.py:45)
at org.python.pycode._pyx3.call_function(/tmp/WLSTOfflineIni1908414056906329703.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.setResourceAttribute$1(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:39)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.doMachine$12(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:185)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx15.MachineSet$14(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py:202)
at org.python.pycode._pyx15.call_function(/oracle/fmwProvDest/20130919100025/toolkit/domainconf.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)

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