ConcurrentModificationException with undertow?

Description

I often hit variations of this when running the lucee docs build on the linux CI server and also locally on windows

 

"ERROR","XNIO-1 task-1","08/30/2019","01:39:13","",";java.util.ConcurrentModificationException;lucee.runtime.exp.NativeException: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(Unknown Source)
at java.util.HashMap$KeyIterator.next(Unknown Source)

at io.undertow.servlet.util.IteratorEnumeration.nextElement(IteratorEnumeration.java:44)
at lucee.runtime.net.http.HttpUtil.getAttributesAsStruct(HttpUtil.java:63)
at lucee.runtime.net.http.HttpServletRequestDummy.clone(HttpServletRequestDummy.java:700)
at lucee.runtime.thread.ThreadUtil.cloneHttpServletRequest(ThreadUtil.java:124)
at lucee.runtime.thread.ThreadUtil.clonePageContext(ThreadUtil.java:51)
at lucee.runtime.concurrency.UDFCaller2.<init>(UDFCaller2.java:53)
at lucee.runtime.concurrency.UDFCaller2.<init>(UDFCaller2.java:57)
at lucee.runtime.functions.closure.Each._call(Each.java:216)
at lucee.runtime.functions.closure.Each.invoke(Each.java:180)
at lucee.runtime.functions.closure.Each._call(Each.java:92)
at lucee.runtime.functions.closure.Each.call(Each.java:65)

this jumps out as a commandbox problem

at io.undertow.servlet.util.IteratorEnumeration.nextElement(IteratorEnumeration.java:44)

there are a few bugs around from other projects having the same problem

Status

Assignee

Unassigned

Reporter

Zac Spitzer

Labels

None

Affects versions

4.7.0

Priority

Major