DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25920>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25920

ConcurrentModificationException in IterateTag

           Summary: ConcurrentModificationException in IterateTag
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


ConcurrentModificationException is thrown in line 401 of IterateTag.
I assume, that the reason is usage of removeAttribute() in line 403 instead
of iterator.remove()

            Object element = iterator.next();
            if (element == null) {
                pageContext.removeAttribute(id); // should be iterator.remove();
            } else {
                pageContext.setAttribute(id, element);
            }

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

Reply via email to