ConcurrentModificationException with LocalizedTextUtil.findDefaultText
----------------------------------------------------------------------

                 Key: WW-2272
                 URL: https://issues.apache.org/struts/browse/WW-2272
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.9
         Environment: Struts 2.0.9
Tomcat 4
Java 1.4
            Reporter: Cyril Gambis


I get this exception:

java.util.ConcurrentModificationException
        at 
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
        at java.util.AbstractList$Itr.next(AbstractList.java:419)
        at 
com.opensymphony.xwork2.util.LocalizedTextUtil.findDefaultText(LocalizedTextUtil.java:174)
        at 
com.opensymphony.xwork2.util.LocalizedTextUtil.getDefaultMessage(LocalizedTextUtil.java:579)
        at 
com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:461)
        at 
com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:293)
        at 
com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:173)
        at 
com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:88)
        at com.opensymphony.xwork2.ActionSupport.getText(ActionSupport.java:71)
        at com.MYPROJECT.mobile.action.MYACTION.list(MYACTION.java:402)

For information, here is the lines calling getText:

this.forums.add(new Reference(FORUM_NUMBER_1 + "", 
getText("myproject.forum.label.number1")));

I can also provide the configuration and externalized strings files, but maybe 
it's not necessary since it seems to be a concurrent modification exception


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to