Purpose (problem description)
This page handle the case when there are missing Shell program artifacts.
Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
Step by Step scenario
- Run analysis for SHELL application
Action Plan
- Check if the pre-processor log file was created (refer the following file for the log file location: CAST Management Studio - Information - How to find logs)
- If the pre-processor log file was created then Check if the pre-processor has crashed, then re-mediate, else go to the next step
In order to check if the pre-processor has crashed,open the SHELL pre-processor log file "shell_pp_report_MM-DD-YYY_HHMMSS.txt" (refer to the following file for the log file location: CAST Management Studio - Information - How to find logs):
The SHELL pre-processor log file should be as follows:Pre-processor for Shell Beginning of process... - Processing file 'path\file 1' .... - Processing file 'path\file n' End of process.
If the log file stops before the message "End of process" then the pre-processor has crashed. The pre-processor crashes because of the file indicated in the latest row from the log file (As a consequence the file will be analyzed from the deployment folder instead of the LISA folder).
- As a workaround remove the file that caused the crash of the pre-processor
- Then analyse your source code.
- If you are using CAST AIP < 8.2.1, then the issue is due to the JAVA_HOME environment variable, as a workaround perform the following steps:
- The JAVA_HOME should be set to the JRE of CAST installation directory, you can find it on < CAST installation dir >\jre
- if CAST-MS is already opened, then close it and open again
- Run analysis
- The JAVA_HOME should be set to the JRE of CAST installation directory, you can find it on < CAST installation dir >\jre
- If you are using Shell extension < Shell 1.0.6, then the issue is due to a bug in the launch.bat, as a workaround perform the following steps:
- Edit the launch.bat file, you will find it on <CAST installation dir>\CustomPlugins\com.castsoftware.shell\Configuration\Languages\SHELL\prepro
- Replace the following code line:
By this line of code:
"%JAVA_HOME%\bin\java.exe" -jar "%local_path%com.castsoftware.shell.prepro.jar" %1 %target_path% Info, you should have a file as follow: - If CAST-MS is already opened, then close it and open again
- Run analysis
- Edit the launch.bat file, you will find it on <CAST installation dir>\CustomPlugins\com.castsoftware.shell\Configuration\Languages\SHELL\prepro
- If the checks above don't resolve your issue then contact CAST Technical Support with the following Relevant input
Relevant input
- The name of the object that you are expecting to get.
- Sherlock export with the following options: Export Logs (feature checked by default), Export Configuration files (feature checked by default), Export Computer Environment (feature checked by default),Export CAST Bases, source code
Notes/comments
Ticket # 8515, 8203, 7417, 7342
Related Pages