Description

 The analysis of a Java application fails with the error : Java project initialization failed.Java features will not be supported.

If you click on any warning related to classpath,you will have a detailed view mentioning the classpath entry .But at that location the EnvProf may not exist.

Observed in CAST AIP
Release
Yes/No
8.3.x(error) 
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Run analysis.
  2. Check in analysis log file.
Impact of the Problem

The impact of the problem on the analysis or the dashboard is: Analysis will fail with the error "Java project initialization failed".Java features will not be supported. Impact of the solution on the analysis or the dashboard is:Analysis completes successfully.

Action Plan

The issue usually happens when the environment profiles are not deployed on the VM properly. It can be seen from the analysis logs that the environment profile was not found. The Environment profile that CAST analyzer looks for is defined in CastGlobalSettings.ini file (located in CAST installation folder) as the value of Common Program files path.

To fix the problem, proceed as follows:

  1. Check if the environment profile folder exists in that path.
  2. If not,copy the environment profile folders to that location. 
Notes/comments
Ticket # 4835
Related Pages