Page tree
Skip to end of metadata
Go to start of metadata
Description

The analysis of a Java application fails with the error and warnings as follows:

Unexternalized exception - access violation

Internal exception occurred during processing listener JEEJobActionNew::Process on instance analysisStart #1 : access violation
Internal exception occurred during processing listener JEEAnalyzerActionNew::Process on instance JOB_JSP_ANALYZER #2 : invalid map<K, T> key

This issue is planned to be fixed in 8.2.5

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)
CSS3(tick)
CSS2(tick)
Step by Step Scenario
  1. Below is the step-by-step scenario leading to the problem:
  2. Package Java source code from DMT and accept delivery
  3. Accept the delivery from CAST-MS and exclude some files from analysis unit using CAST-MS configuration
  4. Run analysis.
  5. Analysis fails with error and warnings and objects would not be analyzed.
Impact of the Problem

The impact of the problem on the analysis or the dashboard is: Analysis will fail with the error "Unexternalized exception - access violation" and non of the objects would be analyzed. 

Action Plan
  1. Check for Folder Exclusions or File Exclusions in Source Settings tab
    This is a known issue with JEE analyzer : when we add any files/folders in the Java files exclusion (see screen below) this configuration is making the analysis to fail:
    1. To fix the problem, proceed as follows:
      1. You need to remove the exclusion files/folders from CAST-MS (please see the screen shot below)
      2. Manually rename the file by adding any extension like ".exclude" or if it is a folder you can remove the folder physically from the deploy folder.


  2. If there is no folder/file exclusion, then the issue could also occur with same error message when there is an inconsistency in the management base and due to this issue the meta model does not get loaded which fails the analysis. If this is the issue as a workaround Open Server Manager and do a component update.
  3. If the above 2 steps does not help then the approach will be to use dichotomy to find out possible culprit files. Please first read the general principles : CMS Snapshot Analysis - Information - Overview of the Dichotomy process
  4. Then refer to page CMS Snapshot Analysis - Run Analyzer - Fatal Error - JEE with Core CAST AIP - Unable to process JSP analysis An exception occurred and follow Action Plan starting from point 4 in that page.
Impact of the Solution

Impact of the solution on the analysis or the dashboard after applying the solution:Analysis completes successfully.

Notes/comments
 Ticket # 9277
Related Pages

 

  • No labels