jenkinsci / jenkinsci/credentials-plugin

[JENKINS-68794] ConcurrentModificationException while checkout

Open
#923 2 comments 0 reactions 0 assignees View on GitHub
component:credentials-plugin imported-jira-issue jira-type:task priority:blocker resolution:unresolved
Dominant language
Java
Stars
134
Forks
258
Avg merge
48m
Merged PRs (30d)
1

Description

09:24:15  The recommended git tool is: NONE

09:24:18
java.util.ConcurrentModificationException
at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043)
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:997)
at com.cloudbees.plugins.credentials.domains.DomainCredentials.getCredentials(DomainCredentials.java:191)
at com.cloudbees.plugins.credentials.SystemCredentialsProvider$ProviderImpl.getCredentials(SystemCredentialsProvider.java:466)
at com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials(CredentialsProvider.java:564)
at hudson.plugins.git.GitSCM.lookupScanCredentials(GitSCM.java:946)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:918)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:838)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1291)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Finished: FAILURE

We recieve random exception while checkout pipeline code. After set "Pipeline speed/durability override" at "Less durability, a bit faster" error is almost gone, but not  completely.

---
Originally reported by andreyhry, imported from: ConcurrentModificationException while checkout


  • status: Open
  • priority: Blocker
  • component(s): credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-08

Raw content of original issue


09:24:15  The recommended git tool is: NONE

09:24:18
java.util.ConcurrentModificationException
at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043)
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:997)
at com.cloudbees.plugins.credentials.domains.DomainCredentials.getCredentials(DomainCredentials.java:191)
at com.cloudbees.plugins.credentials.SystemCredentialsProvider$ProviderImpl.getCredentials(SystemCredentialsProvider.java:466)
at com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials(CredentialsProvider.java:564)
at hudson.plugins.git.GitSCM.lookupScanCredentials(GitSCM.java:946)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:918)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:838)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1291)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Finished: FAILURE


We recieve random exception while checkout pipeline code. After set "Pipeline speed/durability override" at "Less durability, a bit faster" error is almost gone, but not  completely.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.