Discovery stopped at the very beginning stage and it stopped automatically and throwing "java.lang.NullPointerException" exception in Discovery log and Mid server Agent Log.

Below error is the error reference.

at com.service_now.mid.creds.provider.standard.StandardCredentialsProvider.iterator(
at com.service_now.mid.probe.shazzam.scanners.SNMP.getCredsIterator(
at com.service_now.mid.probe.shazzam.scanners.SNMP.sendSpamTaps(
at com.service_now.mid.probe.shazzam.scanners.SNMP.sendFirstTap(
at com.service_now.mid.probe.shazzam.scanners.SNMP.nextPhase(
at com.service_now.mid.probe.Shazzam.processChunk(
at com.service_now.mid.probe.ShazzamBase.syncProcessChunk(
at com.service_now.mid.probe.Shazzam.probe(
at com.service_now.mid.probe.AProbe.process(
at com.service_now.mid.queue_worker.AWorker.runWorker(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$


If the Midserver is not set to work in Global Domain, then we to need always set the multi domain properties value set as "False".

Below SerrvieNow documentation to refer how to set your Midserver to work in Global Domain and can explore targets in other domains.

Configure a multi-domain MID Server

With this property set to false, we cannot use a MID Server in the global domain to explore targets in other domains. For some reason, the MID Server Property "mid.enable_multidomain_mid" when set to true is causing a NullPointerException in customer instance when Discovery run and it stops at the very beginning level, without triggering and probes or patterns. When it set to false, credential syncing works correctly and so does Discovery.


Steps to Follow:-

  1. Navigate to Midserver from Instance Navigator.
  2. Need to select the properties
  3. Now search "mid.enable_multidomain_mid" in Name search bar.
  4. Change the value to "False" if your Midserver is not working as Global domain.
  5. Below the screenshot for reference how to set this property to false.

Article Information

Last Updated:2020-07-30 23:24:32
Screen Shot 2020-06-25 at 7.47.37 AM.png[View]