Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
syslogs are filling with the "Cannot convert null to an object" errors for file ie_checker.xml - Known Error
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • syslogs are filling with the "Cannot convert null to an object" errors for file ie_checker.xml
KB0794081

syslogs are filling with the "Cannot convert null to an object" errors for file ie_checker.xml


2450 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

The syslog table can be filled with the warnings called "Evaluator: org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in Phase 2 Jelly: file:/glide/nodes/redhat020_16048/webapps/glide/itil/WEB-INF/ui.jtemplates/ie_checker.xml.2 at line 20"


For example:


2020-01-17 00:01:28 (266) Default-thread-1 7079A78FDB9A48D43306ABC5CA9619D4 txid=b479a78fdb9a WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in Phase 2 Jelly: file:/glide/nodes/redhat020_16048/webapps/glide/itil/WEB-INF/ui.jtemplates/ie_checker.xml.2 at line 20

17:
18: // If IE is in compatibility mode, ignore the emulated version
19: // and report the actual version.
==> 20: if (matches = userAgent.match(/Trident\/(\d)\.0/))
21: obj.version = parseInt(matches[1]) + 4;
22: else if (matches = userAgent.match(/MSIE (\d)\.0/))
23: obj.version = parseInt(matches[1]);

2020-01-17 00:01:28 (267) Default-thread-1 7079A78FDB9A48D43306ABC5CA9619D4 txid=b479a78fdb9a WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in Phase 2 Jelly: file:/glide/nodes/redhat020_16048/webapps/glide/itil/WEB-INF/ui.jtemplates/ie_checker.xml.2 at line 5

2: if (typeof browser === 'undefined')
3: var browser = {};
4:
==> 5: browser = (function IEChecker(obj) {
6: // in case there is an override, we should honor it.
7: if (typeof obj.isMSIE !== 'undefined')
8: return obj;

2020-01-17 00:01:28 (269) Default-thread-1 7079A78FDB9A48D43306ABC5CA9619D4 txid=b479a78fdb9a WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in <refname> at line 1

==> 1: browser.userAgent.indexOf('iPad;') > -1

2020-01-17 00:01:28 (270) Default-thread-1 7079A78FDB9A48D43306ABC5CA9619D4 txid=b479a78fdb9a WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in <refname> at line 1

==> 1: browser.userAgent.indexOf('iPhone') > -1

2020-01-17 00:01:28 (271) Default-thread-1 7079A78FDB9A48D43306ABC5CA9619D4 txid=b479a78fdb9a WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in <refname> at line 1

==> 1: browser.userAgent.indexOf('Android') > -1

2020-01-17 00:01:28 (272) Default-thread-1 7079A78FDB9A48D43306ABC5CA9619D4 txid=b479a78fdb9a WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in <refname> at line 1

==> 1: browser.userAgent.indexOf('Edge') > -1

2020-01-17 00:01:28 (279) Default-thread-1 7079A78FDB9A48D43306ABC5CA9619D4 txid=b479a78fdb9a *** End #3705821 /auth_redirect.do, user: guest, total time: 0:00:00.043, processing time: 0:00:00.043, SQL time: 0:00:00.000 (count: 7), ACL time: 0:00:00.001, source: 35.165.59.54 null

Release

Any release.

Resolution

To avoid this the users that trigger this log need "web_service_only" tickbox ticked on their profiles":
https://docs.servicenow.com/csh?topicname=c_NonInteractiveSessions.html&version=latest#t_CreateANonInteractiveUser


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.