Syslog table filling with "Cannot convert null to an object" errors from ie_checker.xmlIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The syslog table fills with repeated WARNING entries containing the following exception: 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 These warnings are generated when certain users trigger requests that cause the ie_checker.xml template to evaluate against a null object. Symptoms<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } - The syslog table accumulates a high volume of WARNING entries. - Each entry references the exception Cannot convert null to an object and the file ie_checker.xml. 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<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Any release. Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Users who are not configured as non-interactive users trigger requests that cause the ie_checker.xml Jelly template to encounter a null object, generating repeated syslog WARNING entries. Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } To stop these warnings from filling the syslog table, identify the users triggering the errors and enable the **Web service only** check box on their profiles. This configures them as non-interactive users, which prevents the ie_checker.xml template from executing in their sessions. 1. Identify the users triggering the syslog warnings by reviewing the syslog table entries for the relevant transaction user details. 2. Open the profile record for each identified user. 3. Select the **Web service only** check box on the user profile record. 4. Save the record. https://docs.servicenow.com/csh?topicname=c_NonInteractiveSessions.html&version=latest#t_CreateANonInteractiveUser Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } https://docs.servicenow.com/csh?topicname=c_NonInteractiveSessions.html&version=latest#t_CreateANonInteractiveUser