You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After a couple of these errors:
Error : NuGetDefense : OSS Index scan failed with exception: System.ArgumentException: An item with the same key has already been added. Key: CVE-2024-29992
(which seems to be harmless?)
It throws this one and then exits:
Error : Encountered a fatal exception while checking for Dependencies in path/mysolution.sln. Exception: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.Decimal'.
at NuGetDefense.SqlLiteVulnerabilityCache.GetPackageCachedVulnerabilitiesForSource(NuGetPackage package, String sourceName, Dictionary2& packageUrlVulnerabilityMap) in /home/codingcoyote/RiderProjects/NuGetDefense/Src/NuGetDefense.Lib/SqlLiteVulnerabilityCache.cs:line 232 at NuGetDefense.SqlLiteVulnerabilityCache.GetPackagesCachedVulnerabilitiesForSource(IEnumerable1 cachedPackages, String sourceName, Dictionary`2& vulnDict) in /home/codingcoyote/RiderProjects/NuGetDefense/Src/NuGetDefense.Lib/SqlLiteVulnerabilityCache.cs:line 205
at NuGetDefense.Scanner.ScanVulnerabilities(ScanOptions options) in /home/codingcoyote/RiderProjects/NuGetDefense/Src/NuGetDefense.Lib/Scanner.cs:line 235
To Reproduce
Steps to reproduce the behavior:
nugetdefense -p .\mysolution.sln
Expected behavior
Run and finish with no error.
Tools (please complete the following information):
OS: Windows 11 Pro
Powershell 5.1.22621.4111
.net vesion: 8.0.402
Latest nugetdefense release; 4.1.3.1
The text was updated successfully, but these errors were encountered:
Describe the bug
After a couple of these errors:
Error : NuGetDefense : OSS Index scan failed with exception: System.ArgumentException: An item with the same key has already been added. Key: CVE-2024-29992
(which seems to be harmless?)
It throws this one and then exits:
Error : Encountered a fatal exception while checking for Dependencies in path/mysolution.sln. Exception: System.InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.Decimal'.
at NuGetDefense.SqlLiteVulnerabilityCache.GetPackageCachedVulnerabilitiesForSource(NuGetPackage package, String sourceName, Dictionary
2& packageUrlVulnerabilityMap) in /home/codingcoyote/RiderProjects/NuGetDefense/Src/NuGetDefense.Lib/SqlLiteVulnerabilityCache.cs:line 232 at NuGetDefense.SqlLiteVulnerabilityCache.GetPackagesCachedVulnerabilitiesForSource(IEnumerable
1 cachedPackages, String sourceName, Dictionary`2& vulnDict) in /home/codingcoyote/RiderProjects/NuGetDefense/Src/NuGetDefense.Lib/SqlLiteVulnerabilityCache.cs:line 205at NuGetDefense.Scanner.ScanVulnerabilities(ScanOptions options) in /home/codingcoyote/RiderProjects/NuGetDefense/Src/NuGetDefense.Lib/Scanner.cs:line 235
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Run and finish with no error.
Tools (please complete the following information):
The text was updated successfully, but these errors were encountered: