List Info

Thread: Created: (WW-2272) ConcurrentModificationException with LocalizedTextUtil.findDefaultText




Created: (WW-2272) ConcurrentModificationException with LocalizedTextUtil.findDefaultText
country flaguser name
United States
2007-10-24 10:39:39
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(AbstractLi
st.java:448)
	at java.util.AbstractList$Itr.next(AbstractList.java:419)
	at
com.opensymphony.xwork2.util.LocalizedTextUtil.findDefaultTe
xt(LocalizedTextUtil.java:174)
	at
com.opensymphony.xwork2.util.LocalizedTextUtil.getDefaultMes
sage(LocalizedTextUtil.java:579)
	at
com.opensymphony.xwork2.util.LocalizedTextUtil.findText(Loca
lizedTextUtil.java:461)
	at
com.opensymphony.xwork2.util.LocalizedTextUtil.findText(Loca
lizedTextUtil.java:293)
	at
com.opensymphony.xwork2.TextProviderSupport.getText(TextProv
iderSupport.java:173)
	at
com.opensymphony.xwork2.TextProviderSupport.getText(TextProv
iderSupport.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.


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )