659 views

Description

We are trying to discover HMC servers and discovery fails with error message: Discovery of HMC servers fail with error: Running pre sensor script- Handle Model and Manufacturer for HMC failed due to: TypeError: Cannot convert null to an object

See attached error:

handle_model_and_manu_for_HMC_error.PNG

Steps to Reproduce

Download from store: 'Discovery and Service Mapping Patterns' v1.0.59
Run discovery of HMC server

Workaround

Attached "sa_pattern_prepost_script_01eb698edb890010988e5295dc9619ff (3).xml" to import to fix the issue.

The fix is changing the scope of the pre sensor script "Handle Model and Manufacturer for HMC" from "Discovery and Service Mapping Patterns" to "global". Script include "CI" and "MakeAndModelJS" which are being invoked in pre sensor script are in global scope, due to this difference in scope the pre sensor script could not invoke script include and resulted in step failure.


Related Problem: PRB1385164

Seen In

SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - Audit Management PA Content - Madrid 2019 Q1
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Policy and Compliance PA Content - Madrid 2019 Q1
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Risk Management PA Content - Madrid 2019 Q1
SR - IRM - Vendor Risk Management - Madrid 2019 Q1
SR - ITOM - CMDB CI Class Models - 201907
SR - ITOM - CMDB CI Class Models - 201908
SR - ITOM - CMDB CI Class Models - 201909
SR - ITOM - Discovery and Service Mapping - 201908
SR - ITOM - Discovery and Service Mapping - v1.0.35
SR - ITOM - Fundamentals Istanbul Jakarta Kingston r1 - v5.99.6
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - ElasticSearch Integration - Madrid 2019 Q1
SR - SIR - Exchange Online Integration - New York 2019 Q3 2
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Security Incident Response PA Content - New York 2019 Q3
SR - SIR - Security Incident Response UI Patch - London 2019 Q2 v.6.2.3
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3
SR - SIR - Threat intelligence - New York 2019 Q3
SR - VR - Qualys - New York 2019 Q3
SR - VR - Vulnerability Response - New York 2019 Q3
SR - VR - Vulnerability Response PA Content - Madrid 2019 Q2

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-11-16 06:55:49
Published:2020-03-29
handle_model_and_manu_for_HMC_error (1).PNG[View]sa_pattern_prepost_script_01eb698edb890010988e5295dc9619ff (3).xml[View]