Cadet 1st Class
Cadet 1st Class
363 views

Process is terminated due to StackOverflowException.

1- I have a simple dot net framework 4.7.2 class library project 

2- it contains a class 

using System;
namespace a.b.c
{
  public class Class1 
  {
    public static string x = "a large json string more than 15000 lines and 15 levels deep ..."
  }
}

3- run the command  

sourceanalyzer.exe -b 2.22.0-92541 -logfile c:\temp\test\Extension.sln_build.log devenv "c:\temp\test\Extensions\Extension.sln" /REBUILD DEBUG

4- it raises the error message "Process is terminated due to StackOverflowException."

see the attached screenshot

0 Likes
1 Reply
Cadet 1st Class
Cadet 1st Class

It is not the large json issue.

The issue is because of a large expression.

Please disregard this thread and see this one: https://community.microfocus.com/t5/Fortify-User-Discussions/Fortify-raises-quot-Process-is-terminated-due-to/m-p/2838764#M9647 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.