This page will help you solve problems related to the scanning/re-scanning of an application with the CAST AIP Console.

CAST AIP Console is a front-end web application that 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 more information, refer to:

Applicable Platform

AIP Platform


CAST AIP 8.3(tick) 
AIP Console VersionYes/No
AIP Console 1.8.x  or greater(tick)
Action Plan
  1. When performing operations on the AIP Console, make sure that JAVA is properly installed, and that your JAVA_HOME environment variable is set properly for your JAVA installation, as well as this path to JAVA being in your PATH environment variable.  If it is not, then you may have some errors and other odd behaviors that occur.
    1. An example error is the following in the CMSAPI log:
      1.   Caused by: com.castsoftware.aip.node.services.exceptions.AadConsolidationException: java.io.IOException: Cannot run program "java": CreateProcess error=2, The system cannot find the file specified

    2. Running 'Java -version' from a command prompt should check the installation and that your path is properly set
    3. You can see more on this on the web, such as here:  https://stackoverflow.com/questions/32241179/setting-up-enviromental-variables-in-windows-10-to-use-java-and-javac
  2. If you are getting errors during analysis like this "packagePathInvalid - The package path is invalid and needs to be updated" and have an AIP Console version < 1.18.1, then there is an issue fixed in version 1.18.1 and above for this issue.  This occurs when the depth of the Source zip uploaded is more than 5 folders, so changing the folder structure to not have as many folders can be a workaround for this issue.
  3. If you have an issue publishing all snapshots in AIP Console, as a workaround, you can do this action in CAST Management Studio.  Some issues have been fixed in this area in AIP Console 1.18, so using a later version can resolve these issues as well.
  4. If you are having a problem with publishing snapshots and get a synchronization already in progress error, then:
    1. Make sure that there are no other processes active doing a synchronization
    2. If there are not, then there may be a lock on the measurement databases that needs to be cleared.  Please see the following page to remedy this issue:  SQL Queries - CAST Measure Base - Consolidation - Check if there is a lock created for synchronization and remove it
  5. If the analysis is failing with AIP Console < 1.17.0, this may be due to an encoding error.  In this case, the workaround is to either upgrade to 1.17.0 or greater or to run the analysis in CMS instead of AIP Console.
    1. The error will be something like the following:
      1. ERROR com.castsoftware.aip.node.jobs.ApplicationJob - Encountered fatal error executing job
        java.io.UncheckedIOException: java.nio.charset.MalformedInputException: Input length = 1
  6. Otherwise, select the section you are interested in.
  7. If the problem you are facing does not match any case listed in this page, report your problem to CAST Technical Support and provide the below Relevant input for CAST Technical Support to reproduce the issue.

Related Pages