9.6.1 developer: org.sonar.ce.task.projectanalysis.component.VisitException

That’s part of the problem. The scanner should be able to collect blame for all lines.
Is it possible that there are uncommitted changes to those files when the scanner runs?