Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59028

Git Blamer: MissingObjectException: Missing commit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      jenkins 2.187, Static Analysis Utilities org.jvnet.hudson.plugins:analysis-core:1.96,
    • Similar Issues:

      Description

      org.eclipse.jgit.errors.MissingObjectException: Missing commit 25f8bdfe522f1278b6fa8fdd035dec07eeee943c
       at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:159)
       at org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:903)
       at org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:155)
       at org.eclipse.jgit.revwalk.RevWalk.parseHeaders(RevWalk.java:1012)
       at org.eclipse.jgit.blame.BlameGenerator.processOne(BlameGenerator.java:601)
       at org.eclipse.jgit.blame.BlameGenerator.next(BlameGenerator.java:496)
       at org.eclipse.jgit.blame.BlameResult.computeAll(BlameResult.java:239)
       at org.eclipse.jgit.blame.BlameGenerator.computeBlameResult(BlameGenerator.java:450)
       at org.eclipse.jgit.api.BlameCommand.call(BlameCommand.java:230)
      Caused: org.eclipse.jgit.api.errors.JGitInternalException: Missing commit 25f8bdfe522f1278b6fa8fdd035dec07eeee943c
       at org.eclipse.jgit.api.BlameCommand.call(BlameCommand.java:232)
       at hudson.plugins.analysis.util.GitBlamer$BlameCallback.invoke(GitBlamer.java:130)
       at hudson.plugins.analysis.util.GitBlamer$BlameCallback.invoke(GitBlamer.java:104)
       at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:29)
       at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:72)
       at hudson.plugins.analysis.util.GitBlamer.loadBlameResultsForFiles(GitBlamer.java:61)
       at hudson.plugins.analysis.util.GitBlamer.blame(GitBlamer.java:54)
       at hudson.plugins.analysis.util.AbstractBlamer$1.invoke(AbstractBlamer.java:62)
       at hudson.plugins.analysis.util.AbstractBlamer$1.invoke(AbstractBlamer.java:59)
       at hudson.FilePath.act(FilePath.java:1078)
       at hudson.FilePath.act(FilePath.java:1061)
       at hudson.plugins.analysis.util.AbstractBlamer.invokeBlamer(AbstractBlamer.java:59)
       at hudson.plugins.analysis.util.AbstractBlamer.blame(AbstractBlamer.java:45)
       at hudson.plugins.analysis.core.HealthAwarePublisher.blame(HealthAwarePublisher.java:109)
       at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:187)
       at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:69)
       at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:298)
       at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
       at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
       at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
       at hudson.model.Build$BuildExecution.post2(Build.java:186)
       at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
       at hudson.model.Run.execute(Run.java:1840)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          The analysis-plugin is end-of-life. Please upgrade to the warnings-ng plugin.

          Show
          drulli Ulli Hafner added a comment - The analysis-plugin is end-of-life. Please upgrade to the warnings-ng plugin.
          Hide
          jenbeg Hao Maio added a comment - - edited

          I did upgrade to the new plug in. I only didnt know which component should I choose when creating the issue (it is not clear at all, where the Git Blamer belongs to !!! )

          Show
          jenbeg Hao Maio added a comment - - edited I did upgrade to the new plug in. I only didnt know which component should I choose when creating the issue (it is not clear at all, where the Git Blamer belongs to !!! )
          Hide
          jenbeg Hao Maio added a comment -

          The component had been updated before reporting. What was the reason ?

          Show
          jenbeg Hao Maio added a comment - The component had been updated before reporting. What was the reason ?
          Hide
          jenbeg Hao Maio added a comment -

          The old plug-in hadnt been uninstalled correctly.

          Show
          jenbeg Hao Maio added a comment - The old plug-in hadnt been uninstalled correctly.

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            jenbeg Hao Maio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: