Object ID not populating for linux Servers

Abhishek41
Tera Contributor

Hi All, 

I see the IP based discovery is not populating Object ID for the discovered linux server under cmdb_ci_linux_server table but the AWS discovery under cmdb_ci_vm_instance table is discovering the same linux instance with object ID. Now when I trying to debug the step 17.1.16 (set server object_id) on linux server pattern, I am getting an error " Failed to set attribute while testing the step due to the following error: Groovy code failure: Cannot invoke method size() on null object" on step 3.1.4. Anybody has encountered this issue? Kindly help.

 

Thanks,

Abby

1 REPLY 1

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Abhishek41

 

You need to debug the pattern and see why that respective variable is null and take it further

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.