CAST SBOM Manager - Scan - Error - fail on SCAN phase

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

  1. Try the below steps.   
        1. Stop the SBOM Manager.
        2. Remove the .scar/preferences/scanners.json file.
        3. Relaunch SBOM Manager and reconfigure paths.
  2. If in the log there is an error [SCAR-ASYNC-2]PackageScanner : [PackageScanner][BOM ivalua:buyer:182] Start scan packages then
        1. 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

 

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

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk