JavaScriptException: java.lang.NullPointerException in logs

Jay81
Tera Guru

Hi,

 

Getting bellow error in logs close to 300 daily. Please assist.

=================

JavaScript evaluation error on:

(function executeRule(current, previous /*null when async*/) {


var glideURI = gs.action.getGlideURI().toString();


if (glideURI.indexOf("angular") >-1){


current.contact_type='self-service';


}


})(current, previous);

Root cause of JavaScriptException: java.lang.NullPointerException
: java.lang.NullPointerException:

5 REPLIES 5

Hi Jay,

I am glad to hear your goal has been achieved.
Saying this, I will appreciate if you close this thread, as answered.
Have a great rest of the day

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader