-
Bug
-
Resolution: Duplicate
-
Major
-
Java: 1.8.0_202
Jenkins: 2.292
credentials-plugin: 2.4.1
Get the following error executing a pipeline build:
java.lang.UnsupportedOperationException: remove
at java.util.Iterator.remove(Iterator.java:93)
at com.cloudbees.plugins.credentials.CredentialsProvider.trackAll(CredentialsProvider.java:1636)
at com.cloudbees.plugins.credentials.CredentialsProvider.track(CredentialsProvider.java:1583)
at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:329)
at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:197)
at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:173)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:114)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:68)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309)
at hudson.model.ResourceController.execute(ResourceController.java:100)
at hudson.model.Executor.run(Executor.java:433)
Finished: FAILURE
In my short time sleuthing, it appears that remove is called on an iterator that in part is from an unmodifiable list. See: https://github.com/jenkinsci/jenkins/commit/ccaabe5adc94cdc1324b517cde36b8d9b4af0d15#diff-7b908d0c2f51f25650d27284a4b204aaa6911004d77ec06f57d750298749317a
- duplicates
-
JENKINS-65611 Jobs fail to to run in Jenkins 2.292
- Closed