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

GitException: Error: jgit includes()

XMLWordPrintable

      Caught in Code Valet, not sure what is causing this but it could be a bug in the autofavoriting code, or the Git plugin, who knows!

      org.eclipse.jgit.errors.MissingObjectException: Missing commit 203d402e55c72c824ae5b65aee7e35f313bf9745
          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.markStart(RevWalk.java:293)
          at org.jenkinsci.plugins.gitclient.JGitAPIImpl$4.includes(JGitAPIImpl.java:1110)
          at io.jenkins.blueocean.autofavorite.FavoritingScmListener.getChangeSet(FavoritingScmListener.java:152)
          at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:86)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:132)
          at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:112)
          at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.retrieve(SCMSourceRetriever.java:84)
          at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:153)
          at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:134)
          at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
          at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
          at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
          at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
          at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
          at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
          at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
          at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
          at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:129)
          at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:123)
          at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:517)
          at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:480)
          at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:268)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:429)
      
      hudson.plugins.git.GitException: Error: jgit includes() in /var/jenkins_home/workspace/joni_defaults-MBT2YSTY7MUAHVKKYHYN6TISLWL6VSKQMMQ2D2GOPWZJSC72ENZQ@libs/inline-pipeline-secrets Missing commit 203d402e55c72c824ae5b65aee7e35f313bf9745
          at org.jenkinsci.plugins.gitclient.JGitAPIImpl$4.includes(JGitAPIImpl.java:1114)
          at io.jenkins.blueocean.autofavorite.FavoritingScmListener.getChangeSet(FavoritingScmListener.java:152)
          at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:86)
          at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:132)
          at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:112)
          at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.retrieve(SCMSourceRetriever.java:84)
          at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:153)
          at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:134)
          at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:125)
          at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
          at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
          at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
          at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
          at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
          at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
          at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
          at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:129)
          at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:123)
          at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:517)
          at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:480)
          at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:268)
          at hudson.model.ResourceController.execute(ResourceController.java:97)
          at hudson.model.Executor.run(Executor.java:429)
      
      Additional Data
      

      Plugin versions:

      build/repos/apache-httpcomponents-client-4-api-plugin,b632272042139465076fa378e81f3fee729f885f
      build/repos/authentication-tokens-plugin,2a38368d4d9f61a6db0fde5b2f551293fc659cfe
      build/repos/azure-commons-plugin,b585a8f787f57e5552063db224e04a54454c1c87
      build/repos/azure-credentials-plugin,6ea5592773ad84f2f48854d1c611e1a529a22a9d
      build/repos/azure-vm-agents-plugin,e92e1955107b74be9536be2f57d1025966f9dde8
      build/repos/blueocean-autofavorite-plugin,0ddd2f7ea21c83d11a994ae569c56f970e7ba926
      build/repos/blueocean-display-url-plugin,d6515117712c9b30a32f32bb6e1a977711b9b037
      build/repos/blueocean-plugin,bb34e738f8430643086cdc8ac686d681ec90f9e1
      build/repos/branch-api-plugin,661e921eef2977970585829a691cbc0595dffea1
      build/repos/cloudbees-bitbucket-branch-source-plugin,b34bd66c7db1ce4f8b2abeb719530d7f7468cbc4
      build/repos/cloudbees-folder-plugin,afddb64d3704a3a7d2a87f8280f8748416b77b2d
      build/repos/cloud-stats-plugin,701ba1e7bf000e05fa5b436961f6125fbafa2e7c
      build/repos/credentials-binding-plugin,4d6f4c44baaa5aa1dd82a7b64ce4d8990a43d2fe
      build/repos/credentials-plugin,412ee9702029dc48bb7406fa9318ef8f2fc49b76
      build/repos/datadog-plugin,accf6ab44532c79613347416d5397c4156572cd4
      build/repos/display-url-api-plugin,e00542dea8bd0ee339863a11f5b61b872c3eacbd
      build/repos/docker-commons-plugin,b34c6f3ca4216eb66b09af6eef73db5f3c33adc2
      build/repos/docker-workflow-plugin,0e95d9409eb7d219dd9f4f37383c5321c630b889
      build/repos/durable-task-plugin,275ad653f71d89008ff061f6d8133d6684dcb1ad
      build/repos/embeddable-build-status-plugin,df555760b1a669a9acd558c5a498970bcf7febbe
      build/repos/favorite-plugin,08dcfd6b4fcb2b7c25efdf9ae995d0fedb8acdc2
      build/repos/git-client-plugin,5526a61878c1c789b545e0a81eecac859aca87b6
      build/repos/github-api-plugin,182e264acf362cf973362988cdfb24cb74738fab
      build/repos/github-branch-source-plugin,08b3d320281c74ef41c4d8ee064623fa75179c1d
      build/repos/github-oauth-plugin,5ad606efeedfd9ede0cbde31ec608ea1ba90ced1
      build/repos/github-plugin,68ceb5960549c6a5ce55c5288c7eaabbbb3719a2
      build/repos/git-plugin,828ca74769783d2ccd2c16ce038a87cacc66e140
      build/repos/git-server-plugin,1762ba8ccf3c7a46a607b912736912b784a63524
      build/repos/htmlpublisher-plugin,f187d56a4cd3fdcba69d0abc9deaac5be072d2d5
      build/repos/jackson2-api-plugin,74355ea21dacf9e948724d10c9abca0e2c3296bf
      build/repos/jira-plugin,4c7dcde762b55beca74176ec5e837d1784a81ae7
      build/repos/jsch-plugin,dfa3a710c4827896269302503ae86ae026d202f0
      build/repos/js-libs-plugin,79ca191724036878a88f13325851af14b0c70452
      build/repos/junit-plugin,0061cf267c63f6bb64bc165f395e01c0c8c38fd5
      build/repos/kubernetes-plugin,ec7d74f8782941d2b146193ebb14ae6ef5da9a46
      build/repos/lockable-resources-plugin,14b1abaddf441da9a20e8b1e0d94844550529a1e
      build/repos/mailer-plugin,18b8274e1a31b60d7e20492f1ecfa39483b90b37
      build/repos/matrix-auth-plugin,9c859ed3ea932024e73f665400457cbf106b8dcf
      build/repos/matrix-project-plugin,9e4d3bf904094986ea111a90a0c2c14019e2dd7f
      build/repos/mercurial-plugin,f6e5f0bff2d8678c0e7cb13d0db031b45c7a0437
      build/repos/pipeline-build-step-plugin,2e4012ecac352d248ca42feaa18c59aabfe2fa2c
      build/repos/pipeline-graph-analysis-plugin,7ea371dc90fef8e4f0627a365320fceec67f089f
      build/repos/pipeline-input-step-plugin,7aea2abf486438200cb1ae3fb553311d7ced11e0
      build/repos/pipeline-milestone-step-plugin,f7ef68f74aa1e923bb6ca3cdd10541fa6040f123
      build/repos/pipeline-model-definition-plugin,32c5e4178c89faca3ad184b4030d8f403425bdac
      build/repos/pipeline-stage-step-plugin,addb287b9d5b81f3d4ab3b15fb6dd33e7370062a
      build/repos/pipeline-stage-view-plugin,f5ce1f768457c7ff18408e6a54cb84f47a6a4ed8
      build/repos/plain-credentials-plugin,da51ba8703eefb201f3f6c4f4da3714fb83a37d6
      build/repos/pubsub-light-plugin,e374bc0248f37f6572e87913bf0c27cbf5b75d53
      build/repos/scm-api-plugin,45818a22f9d9846cfeb13d9c3f37d0b0dba15e04
      build/repos/script-security-plugin,38e6f6f7850b539a9a430d6ce5fd8c2e146a3181
      build/repos/sentry-plugin,a29347c83966fa0068a3c00af3fefcd9f19ed329
      build/repos/sse-gateway-plugin,685c6c709c96aa63f7d781c0df9060b9928e8b41
      build/repos/ssh-credentials-plugin,55e3d318eeddd52575b2ed632aa3841ba3b4834e
      build/repos/structs-plugin,eb9c1d5d5b1a9794925b62e17b9b4b1ee2113b13
      build/repos/token-macro-plugin,4d24aa5716f8d84e236824ab36d87c90a9897e8d
      build/repos/variant-plugin,3688261cf3c030b3eed603cf96e4758f79b569ac
      build/repos/workflow-aggregator-plugin,d67c39534f908f8432b44e588b0350b064e86bb5
      build/repos/workflow-api-plugin,bbab9280f0ce01988173ade26f8f349b14494499
      build/repos/workflow-basic-steps-plugin,3a464997109f0814f2399d15a2730e49ad74651c
      build/repos/workflow-cps-global-lib-plugin,aaa7ed1e04ce2ef751b2a770e71f0286c509ddc6
      build/repos/workflow-cps-plugin,861996956e7f931d6190af28fa0c0083d09b1d4d
      build/repos/workflow-durable-task-step-plugin,603b62f65ac5796a80b5598685b34ac30a644885
      build/repos/workflow-job-plugin,f3f45712196c9bea60101dbc8b804f6309f69cf2
      build/repos/workflow-multibranch-plugin,c49261f827d032a637475071ba6742f0c40a8653
      build/repos/workflow-scm-step-plugin,b9e8530ca4173b499a17af0468deace17139d458
      build/repos/workflow-step-api-plugin,0b984e5df55b88c39efb9a649e226fba48f5cb8f
      build/repos/workflow-support-plugin,5146dbf08bf4cfe84de9c6744ddfd18e5827b243
      
      

            Unassigned Unassigned
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: