Discovery error - Cannot read property "mainCiType" from null
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 07:41 AM
I get multiple entries of the following error message in Discovery for a configuration item schedule generated from a cloud resource schedule:
Error in Horizontal Discovery Sensor for Horizontal Pattern: Failed to update IP on the CI, TypeError: Cannot read property "mainCiType" from null
What might be the issue? Where should I look to find the root cause?
An interesting point is that this does not happen when discovering from my DEV instance, only PROD.
1 REPLY 1
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 10:08 PM
Hi @MMGF ,
Please follow the steps:
- Review the ecc_queue input payload and find the "mainCiType".
- Confirm the mainCiType is a table which extends one of the following tables, ViewTheSchemaMap:
CMDB_CI_HARDWARE, CMDB_CI_LOGICAL_DATACENTER, CMDB_CI_CLOUD_LOAD_BALANCER - If the mainCiType table is not extended from one of the above tables, create system property sa.host_classes set to type "string" and value equal to the mainCiType.
OR
- Revert MID property mid.discovery.max_ci_count_per_page back to the default value of 500.