org.eclipse.jgit.api.errors.NoHeadException

No HEAD exists and no explicit starting revision was specified

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via Unknown by Antony Woods,
  • via Unknown by Marc Gràcia,
  • via Unknown by Dayanand Shanmugham Kangala,
  • Stack trace

    • 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)[codebrag.jar:0.0.1-SNAPSHOT] at com.softwaremill.codebrag.service.commits.jgit.JgitCommitsLoader.loadCommits(JgitCommitsLoader.scala:37)[codebrag.jar:0.0.1-SNAPSHOT] at com.softwaremill.codebrag.service.commits.jgit.JgitCommitsLoader.loadMissingCommits(JgitCommitsLoader.scala:17)[codebrag.jar:0.0.1-SNAPSHOT] at com.softwaremill.codebrag.service.commits.CommitImportService.importRepoCommits(CommitImportService.scala:12)[codebrag.jar:0.0.1-SNAPSHOT] at com.softwaremill.codebrag.service.updater.LocalRepositoryUpdater$$anonfun$receive$1$$anonfun$applyOrElse$1.apply(LocalRepositoryUpdater.scala:20)[codebrag.jar:0.0.1-SNAPSHOT] at com.softwaremill.codebrag.service.updater.LocalRepositoryUpdater$$anonfun$receive$1$$anonfun$applyOrElse$1.apply(LocalRepositoryUpdater.scala:20)[codebrag.jar:0.0.1-SNAPSHOT] at scala.Option.foreach(Option.scala:236)[codebrag.jar:0.0.1-SNAPSHOT] at com.softwaremill.codebrag.service.updater.LocalRepositoryUpdater$$anonfun$receive$1.applyOrElse(LocalRepositoryUpdater.scala:20)[codebrag.jar:0.0.1-SNAPSHOT] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)[codebrag.jar:0.0.1-SNAPSHOT] at akka.actor.ActorCell.invoke(ActorCell.scala:386)[codebrag.jar:0.0.1-SNAPSHOT] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)[codebrag.jar:0.0.1-SNAPSHOT] at akka.dispatch.Mailbox.run(Mailbox.scala:212)[codebrag.jar:0.0.1-SNAPSHOT] at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506)[codebrag.jar:0.0.1-SNAPSHOT] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[codebrag.jar:0.0.1-SNAPSHOT] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[codebrag.jar:0.0.1-SNAPSHOT] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[codebrag.jar:0.0.1-SNAPSHOT] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[codebrag.jar:0.0.1-SNAPSHOT]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,