You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andrew Hill <an...@gridnode.com> on 2004/07/08 14:45:36 UTC

RE: java.util.ConcurrentModificationException

When you iterate the vector in your action are you modifying its contents in
any way (ie: using add or remove, etc...)?

-----Original Message-----
From: Richard Aukland [mailto:richard@aukinfo.com]
Sent: Thursday, 8 July 2004 20:46
To: struts-user@jakarta.apache.org
Subject: java.util.ConcurrentModificationException


Dear All,

I am having problems with java.util.ConcurrentModificationException.

I have a FormBean memberForm which contains a Vector of
membershipTypeForms.

Whenever I try and access the membershipTypeForms through an iterator
in my Action, (Data Access class) I get the exception.

In my jsp I use <logic:iterate> to iterate through the vector and
apart from this I dont seem to have any other iterators using the
collection.

Is the iterator tag likely to be the problem, if so does anybosy have
any idea how to fox this? or should I be searching through the rest
of my code for some kind of reference?

Many thanks for any help

Richard



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org