User was able to run the scan on a code repo but when a new scan is initiated on a different code base/project it is not getting completed because of the error fail on SCAN phase. User could see the previous project sbom.
ERROR 8472 --- [SCAR-ASYNC-2] bom.service.BomTaskService : [IllegalStateException] fail on SCAN phase
ERROR 8472 --- [SCAR-ASYNC-2] server.util.task.TaskExecutor : [IllegalStateException] Execution fail
Details
- Try the below steps.
-
-
- Stop the SBOM Manager.
- Remove the .scar/preferences/scanners.json file.
- Relaunch SBOM Manager and reconfigure paths.
-
-
- If in the log there is an error [SCAR-ASYNC-2]PackageScanner : [PackageScanner][BOM ivalua:buyer:182] Start scan packages then
-
-
- Check the package configuration.
Check if the scan is for Maven based applications or npm or any other package. Check the scan configuration for the package. For eg for Maven-based applications, the Maven scanner can be enabled which will detect components referenced in the pom.xml. Please refer the section Creating a SBOM/ Packages in CAST SBOM Manager Installation & User Guide
- Check the package configuration.
-
-
NB: The logs can be found at C:\Users\{user}\.scar\lo
And the json file: scar/preferences/scanners.json
Related Documents
CAST SBOM Manager Installation & User Guide
Additional Resources
CAST Highlight Troubleshooting Guides
CAST Highlight Product Documentation
Ticket
50035
Comments