This is an analysis that I have been running for a while. The SCM is Git.
I upgraded SonarQube to 5.2 (from http://downloads.sourceforge.net/project/sonar-pkg/deb as I am using Ubuntu LTS 14.04.3)
sonar.log
now gives:
2015.11.17 10:43:00 ERROR web[o.s.s.c.t.CeWorkerRunnableImpl] Executed task | project=energy:energy | id=AVEVClvzTc_W2Q8I5ipV | time=647ms
Through the web interface I tracked down:
http://localhost:9000/api/ce/logs?taskId=AVEVClvzTc_W2Q8I5ipV
which gave:
java.lang.IllegalArgumentException: There's no changeset on line 170
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[guava-17.0.jar:na]
at org.sonar.server.computation.scm.ScmInfoImpl.getChangesetForLine(ScmInfoImpl.java:64) ~[sonar-server-5.2.jar:na]
at org.sonar.server.computation.scm.ReportScmInfo.getChangesetForLine(ReportScmInfo.java:71) ~[sonar-server-5.2.jar:na]
at org.sonar.server.computation.step.NewCoverageMeasuresStep$NewCoverageCounter.initialize(NewCoverageMeasuresStep.java:391) ~[sonar-server-5.2.jar:na]
(It would be an improvement if the error message told you the file name in which it thinks line 170 is wrong.)
Is there anything to be done other than wait for version 5.3 ?