java.util.ConcurrentModificationException in StructClear()

Description

Running a simple sample of Testbox code fails with java.util.ConcurrentModificationException in StructClear().

Locking (either scope or name locks) doesn't seem to do anything.

Now - one can argue that this code might be not great, but it works just fine in ACF.

Stack Trace:

 

Environment

Linux (Ubuntu 18.04) via Command Box 4.8.0

Same issue also happens in Luce 5.2.9

Activity

Show:

Brad Wood 1 November 2019 at 18:05

Hi I missed your comment before. That's very interesting that FR seems to affect the results. I've pinged Michael Flewitt from the FR support team to see if he has any input on that.

Zac Spitzer 1 November 2019 at 11:04

i think this is the cause? undertow needs updating
https://ortussolutions.atlassian.net/browse/COMMANDBOX-1043

Kai Koenig 24 September 2019 at 02:58
Edited

Actually, this also breaks back in Lucee 4.5 and with much simpler code:

A further WTF-investigation on my end showed that Fusionreactor (8.2.0) is causing this issue.

Running:

uninstall commandbox-fusionreactor --system
uninstall commandbox-fusionreactor

and restarting the Box CLI and the server instance fixes this problem.

- I’m not sure if this issue is on FR or the FR-CommandBox integration, on FR-Lucee or something completely different (and therefore of interest to log somewhere else but FR), but it seems that with FR installed into my server, I can’t do a StructClear of the request scope.

Regardless, this doesn’t seem to be an issue on Lucee’s end now (unless someone raises their hand and knows why it is )

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 24 September 2019 at 02:19
Updated 8 May 2020 at 18:59
Resolved 1 November 2019 at 21:32