This is occuring from inside an ActionForm validate
method, not an Action class. 

m

--- "Richard J. Duncan" <[EMAIL PROTECTED]> wrote:
> Do you have the ActionErrors instance bound to an
> instance variable in the class:
> 
>   public class MyAction extends Action {
>     ..
>     private ActionMessages messages;
> 
>   }
> 
> Struts treats each Action class as a singleton -
> there is only one instance ever created. As such an
> instance variable is not thread-safe and if multiple
> threads call the action, they'll be using the same
> ActionMessages instance.  
> 
> Regards,
>  
> Rich
> 
> -----Original Message-----
> From: Michael Ruppin [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 20, 2003 12:29 PM
> To: Struts Users Mailing List
> Subject: java.util.ConcurrentModificationException
> at
>
org.apache.struts.action.ActionMessages.add(ActionMessages.java:185)
> 
> I'm getting the following, using 1.1-rc1
> ActionMessages.add(ActionMessages messages):
> 
> [6/20/03 11:15:23:344 CDT]  2d4fa5a WebGroup      E
> SRVE0026E: [Servlet Error]-[AxisPortalServlet]:
> java.util.ConcurrentModificationException
>       at
>
java.util.AbstractList$Itr.checkForComodification(AbstractList.java(Inlined
> Compiled Code))
>       at
>
java.util.AbstractList$Itr.next(AbstractList.java(Compiled
> Code))
>       at
>
org.apache.struts.action.ActionMessages.add(ActionMessages.java:185)
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to