Problem

This page describes the solution to the following warnings that you may encounter,when analyzing java source.

Information    MODULMSG ; Job execution    Starting processing of JEE analysis 
Warning    MODULMSG ; Job execution    JAVA047: File is not a valid java source  
Warning    MODULMSG ; Job execution    JAVA047: File is not a valid java source  
Information    MODULMSG ; Job execution    JEE025: Processing application properties files  ...

Observed in CAST Extension

Release

Yes/No

JEE 1.1.x(coche)
JEE 1.0.x(coche)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(coche)
CSS2(tick)
Step by Step Scenario
  1. Package the Java source code.
  2. Deliver and accept the delivery.
  3. Run the analysis, check in the analysis log.
Impact on Analysis Results and Dashboard

There is no impact of these warnings as the warnings are coming because there is an empty path configured in analysis units.

Action Plan
According to the Warnings in the log file follow the below steps :
  1. Open CAST-MS and click the green tick highlighted in the below screenshot you will see in the validation view for which Analysis Unit the source file path is missing goto step 5.

  2. Follow the process of Dichotomy and run the analysis.
  3. Once the analysis is run check in the analysis logs regarding the warning File is not a valid java source, you can search using Notepad++ (Find in Files and provide the log folder path)
  4. Once the logs are found having this warning go to the analysis unit configuration and check for the Java source path as shown below. It should be empty:
  5. Remove the empty configured path
  6. Run the analysis.
Impact of the Solution

No Impact on the analysis and the dashboard.

Notes/comments
 Ticket #13939