Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
For some reason, some C# files that were analysed do not have the NLOC metric, which causes a NPE when decorating those files with unit test metrics.
Fos instance:
Caused by: java.lang.NullPointerException at org.sonar.plugins.csharp.gallio.CoverageDecorator.decorate(CoverageDecorator.java:82) at org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:79) ... 23 more