struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Thomas <p...@tmsl.demon.co.uk>
Subject Re: ConcurrentModificationException when returning ArrayList
Date Sat, 21 Jun 2003 08:42:41 GMT

On 20/06/2003 05:20 Fedor Smirnoff wrote:
> 
> When I try to run it, I get
> ConcurrentModificationException which as an exception
> is not always accurate but usually means that one
> thread tried modifying the List while anohter one was
> iterating. What am I doing wrong? Could someone point
> me in right directions or maybe show an example.
> Thank you very much.

I can't easily see see how you would get such an error unless your 
ArrayList is being stored in the application context?



-- 
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller 
Business |
| Computer Consultants         | 
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+

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


Mime
View raw message