*Purpose
The page will help you to troubleshoot the error message : Run Analysis Only failed - Invalid Analyzer to invoke when clicking Run Analysis only.
Figure 1
Source Server / <APPLICATION NAME> / <PACKAGE NAME> / <ANALYSIS UNIT NAME>.Analyzer to invoke: Invalid Analyzer to invoke: All C-Family analysis units should invoke the same analyzer: please set the AU to use 'Clang-based analyzer' (currently set to 'Legacy analyzer')." com.castsoftware.mda.validations.ValidationException:Source Server / <APPLICATION NAME> / <PACKAGE NAME> / <ANALYSIS UNIT NAME>.Analyzer to invoke: Invalid Analyzer to invoke: All C-Family analysis units should invoke the same analyzer: please set the AU to use 'Clang-based analyzer' (currently set to 'Legacy analyzer')." com.castsoftware.mda.validations.ValidationQuery.<init>(ValidationQuery.java:44) com.castsoftware.mda.validations.ValidationQuery.<init>(ValidationQuery.java:55) com.castsoftware.mda.ui.actions.EntityJFaceActionCustom.validate(EntityJFaceActionCustom.java:295)
*Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x |
*Observed on RDBMS
RDBMS | Yes/No |
---|---|
CSS |
Step by Step Scenario
- Package, deliver and set as current version the source code.
- In CAST Management Studio, at application level, in the Execute tab, click Run Analysis Only.
- The issue occurs
Action Plan*
- This message means that in your application, you have mixed C++ Analysis Units using C++ Legacy Analyer and C++ Analysis Units using Clang based analyzer, and this is not allowed :
Figure 3- Either you use the same Analyzer to invoke Option : Legacy Analyzer or Clang-based analyzer
- If this is not possible, you must create two applications : One application that will use Legacy Analyzer, and the other that will use Clang-based analyzer.
- If the above pages do not help you to resolve the issue, contact CAST Technical Support and provide with with Relevant Input in order to reproduce the issue.
Related Pages