Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CognitiveComplexity to not throw an exception on Lucene.Net #727

Closed
Evangelink opened this issue Aug 25, 2017 · 0 comments
Closed

Fix CognitiveComplexity to not throw an exception on Lucene.Net #727

Evangelink opened this issue Aug 25, 2017 · 0 comments
Assignees
Labels
Type: Bug Exceptions and blocking issues during analysis.
Milestone

Comments

@Evangelink
Copy link
Contributor

The analyzer SonarAnalyzer.Rules.CSharp.CognitiveComplexity throws an exception of type System.InsufficientExecutionStackException when analyzing Lucene.Net on peach.

CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
SC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.MetricsAnalyzer' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
CSC : warning AD0001: Analyzer 'SonarAnalyzer.Rules.CSharp.CognitiveComplexity' threw an exception of type 'System.InsufficientExecutionStackException' with message 'Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.'. [d:\slave02\workspace\Dotnet_lucene.net-GP6PSKNHI45IDLU4FS53BQR3UUICZ6Q6NMHCQBJYSLEL4EFUX6SQ\src\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Exceptions and blocking issues during analysis.
Projects
None yet
Development

No branches or pull requests

3 participants