This page is a guide to troubleshoot the problems you encounter using the Source Code Scan that occurs during the source code Package:
The scan step occurs after the extraction, that means that the source code is already extracted.
For more information, refer to:
- Version 8.3: Source code delivery - an introduction
- Delivery Manager Tool online-help that is in your <CAST Installation folder>\DeliveryManagerTool\DeliveryManagerTool-Help.exe : CAST Delivery Manager Tool - Help > How to... > Package
- TKB page for Information Guides > Delivery Manager Tool DMT
Release | Yes/No |
---|---|
8.3.x | |
8.2.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
When issue occurs during the SCAN Step the SCAN stops, and the packaging fails.
- Open the SCAN.castlog2 file that is in your delivery folder
- Check the last lines of the log file. There is error messages. Check in the below section if the issue is already managed.
Select the section you are interested in:
- Delivery Manager Tool - Source Code Scan - Error - java lang OutOfMemoryError GC overhead limit exceeded
- Delivery Manager Tool - Source Code Scan - Error - processing file sources CastSourcePackage - java lang NullPointerException
- Delivery Manager Tool - Source Code Scan - Error - String index out of range -1
- Delivery Manager Tool - Source Code Scan - Warning - Duplicate Entry xxx will be skipped
If the below section does not resolve the issue, contact CAST Technical Support with Delivery Manager Tool - Relevant Input for Support to reproduce.
To reproduce the issue, the sources.CastSourcePackage file that is in the Delivery Folder, and retrieved by Sherlock when the Export source code is enabled, is required. This file is a compressed file that contains the source code extracted.
Support will unzip this file to deploy the source and reproduce the issue by packaging the source file.