This page will help you to solve problems related to adding a version of an application to the CAST AIP Console.
CAST AIP Console is a front end web application which provides a means to configure, run, and manage CAST AIP analyses on multiple analysis machines.
CAST AIP Console gives an Application Overview showing the application state regarding versions, analysis and snapshots, Technologies and framework identification and Matching technology between Tech Survey and source code delivered
For any issues with specific packaging, discovery, and extraction issues, please see the pages for the Delivery Manager Tool: Delivery Manager Tool Component DMT
For more information, refer to:
- Official documentation: CAST AIP Console
- Specifically for version addition: Add a new Version - deliver code - generate snapshot
- As well as: Advanced onboarding - add a new version and deliver source code
AIP Platform | Yes/No |
---|---|
CAST AIP 8.3 |
AIP Console Version | Yes/No |
---|---|
AIP Console 1.8.x or greater |
- If the console is reporting the error "The log writer cannot create the file: XXX", then:
- Please change the Logon to your user ID (or service ID that has read/write authority) as explained in the AIP Node package installation and then restart the Node and Console service and try adding a version
- If using AIP Console < 1.22 and you have a cast extraction file sourced from a MS-SQL server instead of Oracle, add version will fail with a 'Child task on Exception' error. AIP Console does not support using a MS-SQL cast extraction file until Console version 1.22.
If you have configured the global source folder location and the source does not actually exist in the path, you will see the below messages in the cmsapi log file -
Error StackCaused by: java.nio.file.NoSuchFileException: \\..\CAST-AIP-REPOSITORY\Sources\APP\Analyzed at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) ~[?:1.8.0_271] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[?:1.8.0_271] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) ~[?:1.8.0_271] at sun.nio.fs.WindowsDirectoryStream.<init>(Unknown Source) ~[?:1.8.0_271] at sun.nio.fs.WindowsFileSystemProvider.newDirectoryStream(Unknown Source) ~[?:1.8.0_271] at java.nio.file.Files.newDirectoryStream(Unknown Source) ~[?:1.8.0_271] at java.nio.file.Files.list(Unknown Source) ~[?:1.8.0_271] at com.castsoftware.aip.core.services.deliveryfolder.PackageRootFinder.findPackageRoot(PackageRootFinder.java:61) ~[aip-core-services-1.20.2-RC.jar!/:1.20.2-RC] at com.castsoftware.aip.core.services.deliveryfolder.PackageRootFinder.findPackageRoot(PackageRootFinder.java:40) ~[aip-core-services-1.20.2-RC.jar!/:1.20.2-RC] at com.castsoftware.aip.core.services.deliveryfolder.PackageUpdateHelper.getPackagePathInfo(PackageUpdateHelper.java:124) ~[aip-core-services-1.20.2-RC.jar!/:1.20.2-RC] at com.castsoftware.aip.core.services.deliveryfolder.PackageUpdateHelper.getPackageUpdateInfo(PackageUpdateHelper.java:76) ~[aip-core-services-1.20.2-RC.jar!/:1.20.2-RC] ... 27 more
- You will also notice that Once you click the Add Version >> Finish button, it keeps spinning and does not perform any actions
- As a workaround, you have to make sure that the source code exists in the path provided. The issue is permanently fixed in AIP Console 1.25.0.
- Sometimes, when you have a maven repository configured in AIP console that may/may not require proxy setting, while running the add version task it raises messages like -
- To troubleshoot the above message, you can create a maven package from DMT with the proxy option and without the proxy option to check what setting is suitable to connect to the repository and configure the same in AIP Console.
- Please also check the below scenarios
- AIP Console - Application Onboarding/Delivery - Add version - Attaching packages step - ERROR IOException during extraction of archive XYZ.castextraction - java.io.IOException- Truncated ZIP file
- AIP Console - Application Onboarding/Delivery - Add version - Fails with error The file you are trying to upload exceeds the available space on the server
- AIP Console - Application Onboarding/Delivery - Add Version - Import Configuration - Fatal error - java.lang.IllegalArgumentException: The given id must not be null
- AIP Console - Application Onboarding/Delivery - Add version - Install extension step - ERROR com.castsoftware.aip.node.jobs.ApplicationJob - Encountered interruption executing job
- AIP Console - Application Onboarding/Delivery - Add version - Install extension step - Error - MODULMSG - Job execution SQL Error - ERROR - relation SCHEMA_NAME_local.lck does not exist
- AIP Console - Application Onboarding/Delivery - Add version - Run Analysis step fails - ERROR com.castsoftware.aip.node.services.reports.AnalysisReportServiceImpl - Fail to read analysis list of files
- If the problem you are facing do not match any case listed in this page, report your problem to CAST Technical Support and provide the following Relevant input for CAST Technical Support to reproduce the issue.