Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WL domain from template, creation error

User_RM69ZOct 19 2022

Hello! I'm trying to deploy a WebLogic domain configuration from one instance to another via WLST.

At source instance:
wls:/offline>readDomain('/home/weblogic/Oracle/Middleware12_2/Oracle_Home/user_projects/domains/UAT_GUI_domain')
wls:/offline/UAT_GUI_domain>writeTemplate('UAT_GUI_domain.jar')

At destenation instance:
wls:/offline> createDomain('UAT_GUI_domain.jar','/home/weblogic/Oracle/Middleware12_2/Oracle_Home/user_projects/domains/PRD_HSTB_GUI_domain','weblogic','password')
com.oracle.cie.domain.script.ScriptException: 64254: Error occurred in "DomainGenerator.post.processing.phase.text" phase execution
64254: Encountered error: java.lang.NullPointerException
64254: Check log for more detail.
null
at com.oracle.cie.domain.script.ScriptExecutor.runProgressOperator(ScriptExecutor.java:5904)
at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:2115)
at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:1870)
at com.oracle.cie.domain.script.jython.WLScriptContext.createDomain(WLScriptContext.java:1343)
at com.oracle.cie.domain.script.jython.WLScriptContext.createDomain(WLScriptContext.java:1273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.cie.domain.script.jython.WLSTState.processCommand(WLSTState.java:226)
at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:732)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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._pyx5.command$1(/tmp/WLSTOfflineIni4649695139682730808.py:19)
at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni4649695139682730808.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(PyFunction.java:193)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx5.createDomain$36(/tmp/WLSTOfflineIni4649695139682730808.py:152)
at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni4649695139682730808.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(PyFunction.java:193)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx34.f$0(<console>:1)
at org.python.pycode._pyx34.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(Py.java:1226)
at org.python.core.Py.exec(Py.java:1252)
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.utils.WLSTInterpreter.runsource(WLSTInterpreter.java:1095)
at weblogic.management.scripting.WLST.main(WLST.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.WLST.main(WLST.java:47)
Caused by: com.oracle.cie.wizard.ext.progress.ProgressOperationException
at com.oracle.cie.domain.progress.AbstractProgressGenerator.run(AbstractProgressGenerator.java:121)
at java.lang.Thread.run(Thread.java:748)
Error: runCmd() failed. Do dumpStack() to see details.

wls:/offline> dumpStack()
com.oracle.cie.domain.script.jython.WLSTException: Error writing domain:
64254: Error occurred in "DomainGenerator.post.processing.phase.text" phase execution
64254: Encountered error: java.lang.NullPointerException
64254: Check log for more detail.
null
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:3085)
at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:738)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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._pyx5.command$1(/tmp/WLSTOfflineIni1346004064790530663.py:19)
at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni1346004064790530663.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(PyFunction.java:193)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx5.createDomain$36(/tmp/WLSTOfflineIni1346004064790530663.py:152)
at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni1346004064790530663.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(PyFunction.java:193)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx34.f$0(<console>:1)
at org.python.pycode._pyx34.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(Py.java:1226)
at org.python.core.Py.exec(Py.java:1252)
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.utils.WLSTInterpreter.runsource(WLSTInterpreter.java:1095)
at weblogic.management.scripting.WLST.main(WLST.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.WLST.main(WLST.java:47)
Caused by: com.oracle.cie.domain.script.ScriptException: Error writing domain:
64254: Error occurred in "DomainGenerator.post.processing.phase.text" phase execution
64254: Encountered error: java.lang.NullPointerException
64254: Check log for more detail.
null
at com.oracle.cie.domain.script.jython.WLSTState.processCommand(WLSTState.java:243)
at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:732)
... 37 more
Caused by: com.oracle.cie.domain.script.jython.WLSTException: Error writing domain:
64254: Error occurred in "DomainGenerator.post.processing.phase.text" phase execution
64254: Encountered error: java.lang.NullPointerException
64254: Check log for more detail.
null
at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:1881)
at com.oracle.cie.domain.script.jython.WLScriptContext.createDomain(WLScriptContext.java:1343)
at com.oracle.cie.domain.script.jython.WLScriptContext.createDomain(WLScriptContext.java:1273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.cie.domain.script.jython.WLSTState.processCommand(WLSTState.java:226)
... 38 more
Caused by: com.oracle.cie.domain.script.ScriptException: 64254: Error occurred in "DomainGenerator.post.processing.phase.text" phase execution
64254: Encountered error: java.lang.NullPointerException
64254: Check log for more detail.
null
at com.oracle.cie.domain.script.ScriptExecutor.runProgressOperator(ScriptExecutor.java:5904)
at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:2115)
at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:1870)
... 45 more
Caused by: com.oracle.cie.wizard.ext.progress.ProgressOperationException
at com.oracle.cie.domain.progress.AbstractProgressGenerator.run(AbstractProgressGenerator.java:121)
at java.lang.Thread.run(Thread.java:748)

Investigation with a different target instance indicates that the problem is with the template because the error is the same.
The question is, how can I figure out which object is not assigned (takes Null) that I'm receiving a NullPointerException? Known of the parameter name will help me fix original domain and rewrite template.
Or maybe it has another cause. Any help will be appreciated!

Comments
Post Details
Added on Oct 19 2022
1 comment
659 views