I am frequently getting a java.util.ConcurrentModificationException from:

java.util.LinkedList$ListItr.next()
org.ofbiz.widget.form.ModelForm.renderHeaderRow(ModelForm.java:1074)
....

I only get this error using a Centos server. Another server running Windows
has no similiar complaint.

I looked at the code and cannot possibly see how a single copy of the
ModelForm object could be used in multiple threads? The list causing the
grief is the fieldList and a new one is instantiated each time the modelform
is created, i.e. it is not static.

This server runs for a few days before this error occurs.

Note that this exception is from 9.0 based ofbiz code.  I did a comparison
of the 9x code and the 10.x ModelForm.java code and see that this stuff has
been almost completely rewritten.

Anyone have any insite?

Skip

Reply via email to