org.eclipse.jgit.api.errors.NoHeadException: No HEAD exists and no explicit starting revision was specified

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 Antony Woods, 1 year ago
No HEAD exists and no explicit starting revision was specified
via GitHub by door43app
, 8 months ago
No HEAD exists and no explicit starting revision was specified
via eclipse.org by Unknown author, 1 year ago
No HEAD exists and no explicit starting revision was specified
via Google Groups by Dayanand Shanmugham Kangala, 1 year ago
No HEAD exists and no explicit starting revision was specified
via GitHub by dcoraboeuf
, 2 years ago
No HEAD exists and no explicit starting revision was specified
via GitHub by door43app
, 2 years ago
No HEAD exists and no explicit starting revision was specified
org.eclipse.jgit.api.errors.NoHeadException: No HEAD exists and no explicit starting revision was specified
at org.eclipse.jgit.api.LogCommand.call(LogCommand.java:131)
at com.softwaremill.codebrag.service.commits.jgit.JgitCommitsLoader.loadCommits(JgitCommitsLoader.scala:37)
at com.softwaremill.codebrag.service.commits.jgit.JgitCommitsLoader.loadMissingCommits(JgitCommitsLoader.scala:17)
at com.softwaremill.codebrag.service.commits.CommitImportService.importRepoCommits(CommitImportService.scala:12)
at com.softwaremill.codebrag.service.updater.LocalRepositoryUpdater$$anonfun$receive$1$$anonfun$applyOrElse$1.apply(LocalRepositoryUpdater.scala:20)
at com.softwaremill.codebrag.service.updater.LocalRepositoryUpdater$$anonfun$receive$1$$anonfun$applyOrElse$1.apply(LocalRepositoryUpdater.scala:20)
at scala.Option.foreach(Option.scala:236)
at com.softwaremill.codebrag.service.updater.LocalRepositoryUpdater$$anonfun$receive$1.applyOrElse(LocalRepositoryUpdater.scala:20)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)
at akka.actor.ActorCell.invoke(ActorCell.scala:386)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)
at akka.dispatch.Mailbox.run(Mailbox.scala:212)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year 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.