The problem is that startsWithParameters calls the new startsWithParameters method of BuildPipelineView which then internally adds a new WithXmlAction and that causes the ConcurrentModificationException.
To avoid this, the startsWithParameters element name in the configure block should be quoted:
...
configure { pipelineNode ->
pipelineNode << {
'startsWithParameters'(true)
}
}
...
This will happen for other element names when a method with the same name exists in the scope. I'm not sure if changing the closures resolution strategy will help or break other things.
The seems to be a similary issue as
JENKINS-22708, but only for views.Can you check that your configure blocks for views are escaping calls to properties? Have a look at 4th bullet point on https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block#transforming-xml.