Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Network Devices - Post Sensor

madhusagar
Tera Contributor

Hi All,

 

Got the error Post-sensor script "Network Devices - Post Sensor" failed due to: TypeError: Cannot convert null to an object.

when we ran the network discovery for one of the subnet, please guide me how to fix it.

 

1 REPLY 1

Nilesh Pol
Kilo Sage
Kilo Sage

Hi @madhusagar 

You need to Identify the device and sensor that caused the issue. 

Go to System Definition → Scripts - Background and review the Network Devices - Post Sensor script. Look for any null values in object references. If a script is trying to access null data, modify it using safe checks.