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


Release

Yes/No

1.0(tick) 
1.1(tick) 
1.2(tick) 
1.3(tick) 
1.4(tick) 
Observed on RDBMS
RDBMS
Yes/No
CSS4(tick)
CSS3(tick)
CSS2(tick)
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