Excerpt - CMS Snapshot Analysis - Run Analyzer - Non Fatal Error - JEE with Core CAST AIP - Cannot find CAST Script file for the module named XXX - Action Plan


  1. Check if the castscript file exists.
    1. Copy the path defined in the log file and paste it in the explorer and check if the corresponding castscript file exists.
      1. If the file does not exist this may be due to the fact that the file was added as part of a custom environment profile and a custom castscript file is referenced. This file must be available in the machine where the analysis has been performed.
      2. If the file exists then you need to do the following:
        1. Replace the existing x query file present in <CAST installation folder>\EnvProf\J2EE\Spring framework\cast-spring-config-3-x.xq. with cast-spring-config-3-x.xq file and run the analysis.
          This issue has been fixed in 8.2.7
    2. If the above does not solve issue proceed to next step
  2.  Check if Custom CAST Script Library Directory path is set
    To set the CAST Script Library, in the Left panel, go to Technologies tab, open the J2EE technology, select the Platform Setting tab. CAST Script Library Directory should have a value is correctly set as shown below.



Figure 1