title: NullPointerExceptions in BlameGenerator when executing sonar-runner
body: <p>This is not a new problem but it still occurs in jGit 4.4.1.</p>
  
  <p>I have a problem with NullPointerExceptions in BlameGenerator for some files (5 in total) when executing sonar-runner via Jenkins.</p>
  
  <p>I downloaded and tried the latest jgit version to see if the error was reproducable:</p>
  
  <p><code>$ /c/Users/ebiesse/Downloads/org.eclipse.jgit.pgm-4.4.1.201607150455-r.sh --version
  jgit version 4.4.1.201607150455-r</code></p>
  
  <p>and it gave the same root cause as the Jenkins job, so I guess the problem is in jgit:</p>
  
  <pre><code>$ /c/Users/ebiesse/Downloads/org.eclipse.jgit.pgm-4.4.1.201607150455-r.sh  blame -w services/document-definition-service-client-impl/src/main/java/com/streamserve/service/client/document/definition/request/GetDocumentDefinitionRequest.java
  java.lang.NullPointerException
          at org.eclipse.jgit.blame.BlameGenerator.getSourceStart(BlameGenerator.java:870)
          at org.eclipse.jgit.blame.BlameResult.loadFrom(BlameResult.java:338)
          at org.eclipse.jgit.blame.BlameResult.computeAll(BlameResult.java:240)
          at org.eclipse.jgit.blame.BlameResult.computeRange(BlameResult.java:294)
          at org.eclipse.jgit.pgm.Blame.run(Blame.java:195)
          at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:199)
          at org.eclipse.jgit.pgm.Main.execute(Main.java:246)
          at org.eclipse.jgit.pgm.Main.run(Main.java:138)
          at org.eclipse.jgit.pgm.Main.main(Main.java:110)
  </code></pre>
  
  <p>In this particular directory there are 3 more java files, and they are all fine. </p>
  
  <ul>
  <li><p>Is there anything I could do to make the failing files go through?</p></li>
  <li><p>The git-repo is quite big. If I should pack it and send it, would there be a possibility to pack just a part of it?</p></li>
  </ul>
  
  <p>Kind regards,
  Erika</p>