"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

Seems the link is not active anymore - or invalidated end hidden?? I get insufficient access..


Naveen reddy Bi
Kilo Contributor

Hi Durga,

 This issue will cause mostly because of Mapping fields incorrectly ,when the unmapped fields having null table it will through this exception (org.mozilla.javascript.EvaluatorException: GlideRecord.setTableName - empty table name),Please check the image attached for more clarification.

 variables of type "reference" associated with this catalog item/record producer have a table mapped under the "Type Specifications" Tab on the Catalog Variable form.