Pattern pre-sensor script "Update manufacturer and model details for Next Generation Firewall" is in wrong Application and DomainDescriptionSymptom:Error in Discovery Pattern log "Running pre sensor script- Update manufacturer and model details for Next Generation Firewall failed due to: TypeError: Cannot convert null to an object.."Affected instance(s): OOTB Instance with plugin "Discovery and Service Mapping Patterns" 1.0.65The pre-sensor script "Update manufacturer and model details for Next Generation Firewall" is in wrong Application and Domain with version 1.0.65The OOTB pre-sensor script is put in non-existing domain and in wrong Application "Discovery and Service Mapping Patterns"With Domain and Application changed to "Global" Discovery can work as expected without errors. Attached the modified pre-sensor script xml.Steps to Reproduce Update plugin "Discovery and Service Mapping Patterns" to version 1.0.65Run Palo Alto Discovery with patternWorkaround> Regarding Application Scope of the pre post sensor: The pre-sensor is using Script Include named MakeAndModelJS, which is in global and is accessible only from it's own scope. This is the reason for failure of pre-sensor execution as it resides in different scope. In latest releases MakeAndModelJS is changed to "Accessible from all application scope". This change is present Orlando and is going to be pushed in NP-10. After this change from NP-10, the change of application scope is not required, as this script is part of store family. Hence as part of this PRB, only Domain will be corrected.> Regarding Domain of the pre post sensor: This should be set to global. This issue is fixed in this PRB Related Problem: PRB1412934