Purpose (problem description)

.Net Analysis getting stuck at serialization step and analysis is not proceeding further

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

Run analysis of .Net Job

Action Plan
  1. Identify the file due to which analysis is getting stuck

    1. Execute the following steps to generate traces. Use the attached (cast-25825_patch_traces.7z) trace dll (patch) to help produce some traces.

      1. Backup the two dlls CSharpActionsImpl.dll and DotNetActionsImpl.dll located in CAST installation folder (e.g. C:\Program Files\CAST\CAST\7.0.5)
      2. Before applying the patch
        1. Unzip content of joined archive cast-25825_patch_traces.7z in CAST installation folder
        2.  Make sure a folder C:\temp exists
      1.  Run the analysis we are interested in
      2.  Go to folder C:\temp you will find two files named `csharp_method_trace.txt' and `dotnet_applysubst_trace.txt'
      3.  Zip those files and join the archive to call
      4. If it is no longer needed to generate traces then undo the change made to installation folder by restoring the dlls backed-up in the first step
    1. Execute the following steps to identify the faulty file which is creating the stuck/hang
      1. In the generated file `csharp_method_trace.txt' and `dotnet_applysubst_trace.txt'
      2. Observe the last line and note the file name with path which is actually the problematic file
  2. Remove the identified file from the analysis to avoid getting stuck/hang
    1. To workaround the issue remove the identified files from the analysis
    2. Run analysis again
Notes/Comments

This solution has been tested in CAST version 7.0.5

Related Pages