Error while running Global variable script


#1

Hi there,
I am getting error while running the global variable script
java.lang.NullPointerException: Cannot execute null+

Version using 5.10.1 (Build 1)

Please help me for the solution.

Awaiting your reply.


#2

We need more info to help you - your script, logs, …


#3

01-14-2019 02:02:31 PM Tsest Cases/Task /Task-Gv

Elapsed time: 5.875s

Test Cases/Task /Task-Gv FAILED.
Reason:
java.lang.NullPointerException: Cannot execute null+{UserName=abc, Password=def, URL=xyy}
at internal.GlobalVariable.(GlobalVariable.groovy:34)
at Task /Task-Gv .run(Task /Task-Gv :22)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1547454748352.run(TempTestCase1547454748352.groovy:22)


#4

What is your code?