TeamCity中使用JetBrains dotCover的StackOverflowException

时间:2016-01-08 08:56:32

标签: teamcity dotcover

我使用TeamCity来支持项目的持续集成。

目前,当我为特定项目运行.NET代码覆盖率:JetBrains dotCover时,dotCover会因StackOverflowException而崩溃。

此外,单元测试'TestSomething'是正确的,并且始终成功运行。

以下是构建中的错误日志快照:

[MyAssembly.dll] MyAssembly.MyTester.TestSomething (12s)
[18:28:37][MyAssembly.MyTester.TestSomething] 
[18:28:37][MyAssembly.MyTester.TestSomething] Process is terminated due to StackOverflowException.
[18:28:38][MyAssembly.MyTester.TestSomething] [JetBrains dotCover] Coverage session finished [12/22/2015 6:28:38 PM]
[18:28:38][MyAssembly.MyTester.TestSomething] [JetBrains dotCover] Analysed application exited with code '-1073741571'
[18:28:38][MyAssembly.MyTester.TestSomething] [JetBrains dotCover] Coverage session finished but no snapshots were created. 
[18:28:39][MyAssembly.MyTester.TestSomething] ##teamcity[importData type='dotNetCoverage' tool='dotcover' file='C:\TeamCity\buildAgent\temp\buildTmp\coverage_dotcover33181917853826188801.data']
[18:28:37][Step 3/10] 
[18:28:37][Step 3/10] Process is terminated due to StackOverflowException.

我真的不明白为什么会这样。

专家的帮助吗?

1 个答案:

答案 0 :(得分:1)

这是JetBrains dotCover中的一个错误。