2017-02-19 36 views
0
##[error]15:41:48.530 ERROR: Error during SonarQube Scanner execution 
##[error]java.lang.IllegalStateException: Line 33 is out of range in the file Controllers/BaseAccessRequestController.cs (lines: 30) 

我正在使用Sonar 5.6.5版本和MSBuild 14. Sonar作为Windows服务运行。如果我排除这个控制器,那么其他随机控制器也会出现同样的错如果我排除所有控制器,但保留一个或两个单元测试写入,则错误消失,但覆盖率显示为0,0%。用于MSBuild的SonarQube - 结束分析:SonarQube扫描仪执行期间出错文件中的行超出范围

+0

欢迎来到Stack Overflow!寻求代码帮助的问题必须包括在问题本身中重现**所需的最短代码**最好在[Stack Snippet]中(https://blog.stackoverflow.com/2014/09/introducing-runnable-javascript-css -and-HTML的代码段/)。请参阅如何创建[最小,完整和可验证示例](http://stackoverflow.com/help/mcve) –

回答

0

我能够在从TFS Build服务器中删除Microsoft Build Tools 2015和Visual Studio Enterprise 2015并使用Updates 2015从而再次重新安装之后解决此问题。

相关问题