Strange error in heavy load

Anyone know what this error means and how it is cause?

Oops! Exception Encountered

Framework Initialization/Configuration Exception

Error Type: java.util.ConcurrentModificationException : [N/A]
Error Messages:

Regards,

Andrew Scott

http://www.andyscott.id.au/

I’ve never seen that one. Can you provide the stack trace?

Thanks!

~Brad

A quick look on Google seems to point to a collection being modified whilst you're also iterating over it. Some form of race condition.

Are you running ACF? of Railo?

Robert

http://www.andyscott.id.au/2011/4/23/ColdFusion-array-functions-dont-appear-to-be-thread-safe

Regards,

Andrew Scott

http://www.andyscott.id.au/

I should also point out that with a small modification I am able to duplicate this very reliably, and it is done with a single page request as well.

Thing is I have never seen this type of error before, and I am at a loss to explain why or how to fix this.

Regards,

Andrew Scott

http://www.andyscott.id.au/

Now that I have a good night sleep, I just noticed what the problem is.

For(key in array) {

arrayDelete();

}

Will change the bounds of the array, so breaking out of this was the solution. But the error message threw me out a lot on this.

For(key in array) {

arrayDelete(); break;

}

Regards,

Andrew Scott

http://www.andyscott.id.au/