title: Sonarqube scan error with line out of range?
body: <blockquote>
  <p>[07:43:57]W:   [Step 1/1] ERROR: Error during SonarQube Scanner execution</p>
  <p>[07:43:57]W:   [Step 1/1] ERROR: Line 523 is out of range in the file
  src/main/java/com/company/package/File.java
  (lines: 522)</p>
  </blockquote>
  <p>For some reason Sonarqube is reporting an error on line 523 but there is only 522 lines in the source file ?</p>
  <p>I saw this on a previous file, but when I added a blank line to the end of it the problem went away, this file already has a blank line at the end of it.</p>