-
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
-
[JENKINS-65623] CredentialsProvider throws java.lang.UnsupportedOperationException on iterator remove
Description |
Original:
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 |
New:
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] |
Description |
Original:
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] |
New:
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] |
Description |
Original:
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] |
New:
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] |
Link |
New:
This issue blocks |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Link |
Original:
This issue blocks |
Link |
New:
This issue duplicates |
A workaround for this issue is to set:
com.cloudbees.plugins.credentials.CredentialsProvider.FINGERPRINT_ENABLED=false