CMS Snapshot Analysis - Run Analyzer - Non Fatal Error - DOTNet with extension - DotNet Analyzer - Failed to parse xml file - Invalid character

Description

Dotnet analysis fails with below error

Failed to parse xml file: D:\Storage and Logs\LTSA[GUID]\buildAgentWithStack.tmp

Observed in CAST Extension Version

ReleaseYes/No
1.0
1.1
1.2
1.3
1.4

Observed on RDBMS

RDBMSYes/No
CSS4
CSS3
CSS2

Step by Step Scenario

  1. Run analysis
  2. Analysis fails at one particular analysis unit with the error - Failed to parse xml file: D:\Storage and Logs\LTSA[GUID]\buildAgentWithStack.tmp

Action Plan

Inference Engine runs in 2 ways:

  • It puts the object directly into the memory.
  • It does a Serialization of each object to xml file and puts the xml in the memory (xml files consumes less memory) and then again changes the xml file back to object which is known as Deserialization. (Default process of inference engine)

The issue occurs while parsing xml in the serialization step of the Inference Engine.

The solution would be to change the way the Inference Engine is run.

  1. Goto C:\ProgramData\CAST\CAST[CastVersion]\Globallysharedsettings.INI
  2. Add the below attribute in " Globallysharedsettings.INI" file:
    [.NETAnalyzer]
    IESerialization=0
  3. Save the file run the analysis.
  4. If the previous steps do not fix the issue, then contact CAST Technical Support. with the following Relevant input for reproduction of the issue

Impact on Analysis Results and Dashboard

No impact

Notes/comments

Related Pages