java.lang.IllegalStateException: Unable to blame file <filename>.cpp

Hot problem!
This exception has a lot of traffic. You can help 46 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 1 year ago
Unable to blame file <filename>.cpp
via Google Groups by Anbu Sampath, 3 months ago
Unable to blame file GlobalAssemblyInfo.cs
via Google Groups by Nicolas Peru, 1 month ago
Unable to blame file [some file]
via GitHub by seancheong
, 8 months ago
Unable to blame file src/main/script/app.ts
via Stack Overflow by klee
, 1 year ago
Unable to blame file sonar-examples/plugins/java-custom-rules/src/main/java/org/sonar/samples/java/MyJavaFileCheckRegistrar.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.BlameGenerator.computeBlameResult(BlameGenerator.java:450)
at org.eclipse.jgit.api.BlameCommand.call(BlameCommand.java:230)
at org.sonarsource.scm.git.JGitBlameCommand.blame(JGitBlameCommand.java:126)
at org.sonarsource.scm.git.JGitBlameCommand.access$000(JGitBlameCommand.java:44)
at org.sonarsource.scm.git.JGitBlameCommand$1.call(JGitBlameCommand.java:112)
at org.sonarsource.scm.git.JGitBlameCommand$1.call(JGitBlameCommand.java:109)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.