Description

During an application analysis the analysis ends up with the DB error "Invalid category 'comment' used in type 'CAST_Oracle_RelationalTable' ".

Please find the screen shot below:

Below are the warnings in the analysis log:

The problem is because of the fact that the extraction has been made with a different extractor version than the one used for analysis. 

The analysis is run with CAST version 8.0.0 and the extractor being used is of version 2.6 (find the below screen shot of CASTDatabase.config ) which was released after 8.0.0.  Category "Comment" is extracted from a different version which 8.0.0 does not handle. 

If the extraction is done with a higher version of CAST AIP and the analysis is run in a lower version of CAST AIP, then we get this error.

Observed in CAST AIP
Release
Yes/No
8.3.x (error)
8.2.x (error)
8.1.x (error)
8.0.x(tick) x < 1
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3 (error)
CSS2(tick)
CSS1(error) 
Step by Step Scenario
  1. Package the source code.
  2. Run the analysis
Impact of the Problem

The impact of the problem on the analysis or the dashboard is:The analysis ends with errors in the analysis log.

Action Plan

The solution for the issue is to

  1. Use the Cast version in which extraction is done. For details on how to check the compatibility of Source Extractor with Cast AIP refer the page How to find the version of an Extractor
Impact after applying the solution

Impact after applying solution: Analysis runs fine.

Notes/comments

Ticket # 5084

Related Pages