-
Bug
-
Resolution: Fixed
-
High
-
Discovery 3.1.9
-
None
-
13
-
Severity 1 - Critical
-
1
-
Issue Summary
Assets Discovery scan fails with "Object reference not set to an instance of an object" error.
This is reproducible on Data Center: (yes)
Steps to Reproduce
Whenever a scan is executed with an IP range or an IP subnet, the scan fails in the host, the log shows:
27/06/2023 16:29:03: [Normal] Object reference not set to an instance of an object. at Insight.Discovery.ProviderClasses.AssetProvider.GetHostInfoResultByKnownCredentials(List`1 knownCredentials, Int32 ttl, HostInfoDto additionalData, String ip) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE127-BUILD\ProviderClasses\AssetProvider.cs:line 221 at Insight.Discovery.ProviderClasses.AssetProvider.GetHostInfo(String ip, Int32 port, Boolean usePowerShell, Int32 ttl, Boolean autoAddSudo, List`1 enabledPatternFiles, List`1 disabledPatternFiles, String scanSettingsEntryId, Boolean basicHostInfo) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE127-BUILD\ProviderClasses\AssetProvider.cs:line 136
- The mentioned path, C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE127-BUILD\ProviderClasses\AssetProvider.cs doesn't exist in the machine running Discovery
- The credentials test ok.
- If the scan is done with a single IP, or placing the IPs separated by a semicolon the scan works properly.
- Same scan settings on 3.1.8 work fine.
Expected Results
Scan to complete properly.
Actual Results
The below exception is thrown in the discovery log file:
27/06/2023 16:29:03: [Error] Error scanning host 27/06/2023 16:29:03: [Normal] Exceptions: 27/06/2023 16:29:03: [Normal] Object reference not set to an instance of an object. at Insight.Discovery.ProviderClasses.AssetProvider.GetHostInfoResultByKnownCredentials(List`1 knownCredentials, Int32 ttl, HostInfoDto additionalData, String ip) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE127-BUILD\ProviderClasses\AssetProvider.cs:line 221 at Insight.Discovery.ProviderClasses.AssetProvider.GetHostInfo(String ip, Int32 port, Boolean usePowerShell, Int32 ttl, Boolean autoAddSudo, List`1 enabledPatternFiles, List`1 disabledPatternFiles, String scanSettingsEntryId, Boolean basicHostInfo) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE127-BUILD\ProviderClasses\AssetProvider.cs:line 136 27/06/2023 16:29:03: [Normal] Finish scan for 192.168.1.9
Workaround
Use Assets Discovery 3.1.8.
- duplicates
-
JSDSERVER-13621 Discovery tool v3.1.9 return error when scanning IP address range
-
- Closed
-
- is resolved by
-
JSMDC-17581 You do not have permission to view this issue
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
[JSDSERVER-13651] IP range and IP subnet scan fails on Assets Discovery 3.1.9
Remote Link | New: This issue links to "Page (Confluence)" [ 931008 ] |
Summary | Original: IP range and IP subnet scan fails on Assets Dicovery 3.1.9 | New: IP range and IP subnet scan fails on Assets Discovery 3.1.9 |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Support reference count | Original: 12 | New: 13 |
Support reference count | Original: 11 | New: 12 |
UIS | New: 1 |
Support reference count | Original: 9 | New: 11 |
Remote Link | New: This issue links to "Page (Confluence)" [ 783995 ] |
Assignee | New: Zakhar Listiev [ 11507b174037 ] |