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=21108>.
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=21108

java.util.ConcurrentModificationException occurs in iterator





------- Additional Comments From [EMAIL PROTECTED]  2003-06-26 14:57 -------
The error occurs when I select an html:link on the labkitAdminForm (below) which
then opens the labkitForm. Essentially, the labkitAdminForm displays a list of
labkits to a user. The user then selects one of the labkits from the list to
edit. The error occurs when the selected labkit is being opened. 

The jsp page is being run from JBoss-2.4.8_Tomcat-4.0.4 application/web server.
The data is served by EJB. The ActionForm does not access the EJB directly, but
uses a Proxy (A facade wrapping the EJB reference).

--------------------------------------------------------------------------

struts-config.xml config for the Action/ActionForm being used:
        <action     path="/labkitAdmin"                  
type="com.globalknowledge.rlms.workflow.admin.resources.LabKitAdminAction"
                    name="labkitAdminForm"
                    scope="request"
                    validate="false"
                    parameter="method">
            <forward name="labkitedit"   
path="/workflow/admin/resources/index.jsp" />
        </action>


        <action     path="/labkit"
                    type="com.globalknowledge.rlms.model.labkit.LabKitAction"
                    name="labkitForm"
                    scope="request"
                    validate="false"
                    parameter="method">
            <forward name="labkitedit"   
path="/workflow/admin/resources/createLabKit.jsp" />
            <forward name="labkitcreate"  path="/labkit.do?method=create" />
            <forward name="labkitupdate"  path="/labkit.do?method=update" />
            <forward name="labkitsuccess" path="/labkitAdmin.do?method=index" />
            <forward name="labkiteditext"
path="/workflow/admin/resources/createLabKitExt.jsp" />
            <forward name="labkitfailure" path="/labkitAdmin.do?method=index" />
            <forward name="labkitcancel"  path="/labkitAdmin.do?method=index" />
            <forward name="labkitListCourses"
path="/workflow/admin/resources/addCourse.jsp" />
            <forward name="labkitUnassignCourse"
path="/labkit.do?method=unassignCourse" />
        </action>
--------------------------------------------------------------
A segment of the labkit admin jsp looks like this:

.....
                                <logic:notEqual name="course"
property="labKitSize" value="0">
                                    <tr>
                                        <th valign="center" align="center"
width="15%"><bean:message
key="label.resources.courses.labkits.edit"/>/<bean:message
key="label.resources.courses.labkits.delete"/></th>
                                        <th valign="center" align="center"
width="15%"><bean:message key="label.resources.courses.labkits.id"/></th>
                                        <th valign="center" align="center"
width="15%"><bean:message key="label.resources.courses.labkits.name"/></th>
                                        <th valign="center" align="center"
width="10%"><bean:message key="label.resources.courses.labkits.schedule"/></th>
                                        <th valign="center" align="center"
width="10%"><bean:message key="label.resources.courses.labkits.reserve"/></th>
                                        <th valign="center" align="center"
width="35%"><bean:message key="label.resources.courses.labkits.description"/></th>
                                    </tr>
                                    <logic:iterate id="labkitForm" name="course"
property="labKits" type="com.globalknowledge.rlms.model.labkit.LabKitTextForm" >
                                        <tr>
                                            <td valign="center" align="center"
width="15%" >
                                                <html:link forward="labkitedit"
paramId="id" paramProperty="id"
paramName="labkitForm">Edit</html:link>/<html:link forward="labkitremove"
paramId="id" paramProperty="id" paramName="labkitForm">Delete</html:link>
                                            </td>
                                            <td valign="center" align="center"
width="15%" >
                                                <bean:write name="labkitForm"
property="id" />
                                            </td>
                                            <td valign="center" align="center"
width="15%" >
                                                <bean:write name="labkitForm"
property="name" />
                                            </td>

.....
------------------------------------------------------------------
A segment of the labkit jsp page looks like this:
<html:html locale="true">
    <bean:message key="label.labkit.heading" />
    <body>
        <html:errors/>
        <html:form action="labkit.do?method=select">
        <table border="0" width="100%" height="100%">
            <tr>
                <td valign="center" align="left" width="10%">
                    <bean:message key="label.labkit.name" /><br><br>
                </td>
                <td valign="center" align="left" width="40%">
                    <html:text name="labkitForm" property="name" /><br><br>
                </td>
                <td valign="center" align="left" width="10%">
                    <bean:message key="label.labkit.type" /><br><br>
                </td>
                <td valign="center" align="left" width="40%">
                    <html:select name="labkitForm" property="selectedType"
size="1" >
                        <html:optionsCollection name="labkitForm"
property="types" />
                    </html:select><br><br>
                </td>
            </tr>
            <tr>
                <td valign="center" align="left" colspan="4" width="100%">
                    <table border="0" width="100%" height="100%">
                        <tr>
                            <td valign="top" align="left" width="10%">
                                <bean:message key="label.labkit.description"
/><br><br>
                            </td>
                            <td valign="center" align="left" width="90%">
                                <html:textarea name="labkitForm"
property="description" cols="64" rows="4" /><br><br>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>

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

Reply via email to