- Check if the castscript file exists.
- Copy the path defined in the log file and paste it in the explorer and check if the corresponding castscript file exists.
- 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.
- If the file exists then you need to do the following:
- 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
- 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.
- If the above does not solve issue proceed to next step
- Copy the path defined in the log file and paste it in the explorer and check if the corresponding castscript file exists.
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