"org.mozilla.javascript.EvaluatorException: GlideRecord.setTableName - empty table name (<refname>; line 2)

drasamsetti
Kilo Expert

Hi All,
I am facing a challenge to trace back the script which causes System Log Warning "org.mozilla.javascript.EvaluatorException: GlideRecord.setTableName - empty table name (<refname>; line 2)"
-------------------------------------------

"org.mozilla.javascript.EvaluatorException: GlideRecord.setTableName - empty table name (<refname>;

line 2)

Line(2)

var gr = new GlideRecord('');

evaluateString(JavaScript evaluation error on:

var gr = new GlideRecord('');

gr.query();

"


-------------------------------------------
i searched all the possible places of scripts in SN, but couldn'y able to find the trace back to the source.

The source of the Warning is "Evaluator", has anybody have any idea how to trace it back to the script which causes this warning.

Appreciate you help, thank you.

I

6 REPLIES 6

Rushit Patel2
Tera Guru

Hi,



there is source field on log records.


find_real_file.png


What is it showing for u?


This was my Log entry.. i am not sure how to interpret the source "Evaluator" here.. appreciate any help, thank you
Log Entry.png


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Durga,



This is a known problem. Please refer the below link for more info.


https://hi.service-now.com/kb_view.do?sysparm_article=KB0547210&sysparm_order=7cdd130c87ccc100957bb3...


Hi Pradeep,



I dont have access to the Hi portal, could you please let me know what is the issue and the solution for it?



Many thanks!