<h2>Discovery Sensor error when processing Shazzam: InternalError: Cannot convert NaN to java.lang.Integer</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><style type="text/css"><!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --></style> <div class="margin"> <h1>Symptoms</h1> <ul style="list-style-position: inside;"><li>Discovery Failed with sensor error when processing Shazzam: InternalError: Cannot convert NaN to java.lang.Integer</li></ul> <pre><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">Payload: <results error="java.lang.NullPointerException </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">at com.service_now.mid.creds.provider.standard.StandardCredentialsProvider.iterator(StandardCredentialsProvider.java:152) </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">Error String InternalError: Cannot convert NaN to java.lang.Integer (sys_script_include.4b231fc3c3727200e412bea192d3ae3c.script; line 44) </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">Stack: at sys_script_include.4b231fc3c3727200e412bea192d3ae3c.script:44 (anonymous) </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">at discovery_sensor.0fe358250ab301500026926821fe5cac:712 (anonymous) </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">at discovery_sensor.0fe358250ab301500026926821fe5cac:13 (anonymous) </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">at sys_script_include.778011130a0a0b2500c4595ad1d1d768.script:174 (anonymous) </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">at sys_script_include.778011130a0a0b2500c4595ad1d1d768.script:149 (anonymous) </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;" /><span style="color: #455464; font-family: verdana, geneva; font-size: 8pt; text-align: left; background-color: #ffffff; float: none; display: inline;">at sys_script_include.778011130a0a0b2500c4595ad1d1d768.script:106 (anonymous) </span></pre> <h1>Release</h1> <ul style="list-style-position: inside;"><li>London Patch4 Hot Fix2</li></ul> <h1>Cause</h1> <ul style="list-style-position: inside;"><li>Identified custom ACL: With MID Servers domain separated, it need to be able to read the credentials "sys_domain" field but weren't due to the mentioned ACL.</li></ul> <pre>https://<instance name><a href="https://<customer" rel="nofollow">/</a>sys_security_acl.do?sys_id=7297649ab08310000a4f46df20a592ac</pre> <h1>Resolution</h1> <ol style="list-style-position: inside;"><li>Verify for custom ACLs and disable them.</li><li>Restarted MID Server.</li><li>Shazzam passes because MID Server is able t o read the "sys_domain" field and discovery completed successfully.</li></ol> </div></section></div></article></div>