My Oracle Support Banner

OpenScript Playback Error "error creating vuser for child script" (Doc ID 2381884.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Application Testing Suite - Version 13.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

In OpenScript, during script playback "error creating vuser for child script" error is reported when parent script is having child scripts.

Error log reported in console:

04:11:00,951 INFO [1] Initializing VU 1 for script <Main_Script_Name>
04:11:01,559 INFO [1] Initialized function library "lib.Harsco.OATSAutomation.<LibName>" for alias <LibName>
04:11:01,564 INFO [1] error creating vuser for child script
oracle.oats.scripting.modules.basic.api.exceptions.ScriptServiceException: Failed to create script service lib.Harsco.OATSAutomation.<LibName>
at oracle.oats.scripting.modules.basic.api.exceptions.ScriptServiceException.createFailedToCreateScriptService(ScriptServiceException.java:27)
at oracle.oats.scripting.modules.basic.api.internal.FuncLibraries.createFunctionLibraries(FuncLibraries.java:49)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.initializeFunctionLibraries(IteratingVUser.java:264)
at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.createIteratingVUser(IteratingAgent.java:650)
. . . . . . .
04:11:01,670 ERROR [1] Error in section Run at line unknown. An unexpected exception occurred in the script. Script section: Run. Caused by: NullPointerException occured.
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1124)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.getSpecialVariableImpl(IteratingVUser.java:1325)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.getSpecialVariable(IteratingVUser.java:1237)

Example java code used to call the child scripts:

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.