[jira] Resolved: (ESBJAVA-266) ConcurrentModificationException thrown when executing a configuration with the "Iterator" mediator

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (ESBJAVA-266) ConcurrentModificationException thrown when executing a configuration with the "Iterator" mediator

JIRA jira@wso2.org
     [ http://www.wso2.org/jira/browse/ESBJAVA-266?page=all ]

Ruwan Linton resolved ESBJAVA-266.
----------------------------------

    Fix Version/s: 1.1-QA-b1
       Resolution: Fixed

This issue is fixed in the Synapse and will be availabel to ESB in turn.

> ConcurrentModificationException thrown when executing a configuration with the "Iterator" mediator
> --------------------------------------------------------------------------------------------------
>
>                 Key: ESBJAVA-266
>                 URL: http://www.wso2.org/jira/browse/ESBJAVA-266
>             Project: WSO2 ESB
>          Issue Type: Bug
>    Affects Versions: NIGHTLY
>         Environment: Ubuntu 7.04, JDK1.5.0_12
>            Reporter: Evanthika Amarasiri
>         Assigned To: Ruwan Linton
>             Fix For: 1.1-QA-b1
>
>
> Executed the following configuration
> *********************************************************************************************
> <definitions xmlns="http://ws.apache.org/ns/synapse">
> <endpoint name="epr1">
> <address uri="http://10.100.1.228:9001/soap/SimpleStockQuoteService"/>
> </endpoint>    
> <sequence name="logging">
> <log level="full"/>
> </sequence>
>     <sequence name="main">
>         <in>
> <iterate continueParent="true" expression="//m0:getQuote/m0:request/m0:symbol">
> <target sequence="logging"/>
> </iterate>
> </in>
> <out>
>    <log level="full"/>
> </out>
>     </sequence>
> </definitions>
> *********************************************************************************************
> The exception thrown is as follows
> *********************************************************************************************
> 2007-10-18 22:02:36,562 [127.0.0.1-Evan] [SynapseWorker-1] ERROR Axis2Sender Unexpected error during sending message out
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
>         at java.util.HashMap$KeyIterator.next(HashMap.java:823)
>         at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.removeUnwantedHeaders(HttpCoreNIOSender.java:247)
>         at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:203)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:192)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:176)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>         at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:251)
>         at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:55)
>         at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:199)
>         at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
>         at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>         at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:121)
>         at org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:64)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> Exception in thread "SynapseWorker-1" org.apache.synapse.SynapseException: Unexpected error during sending message out
>         at org.apache.synapse.core.axis2.Axis2Sender.handleException(Axis2Sender.java:113)
>         at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:62)
>         at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:199)
>         at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
>         at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>         at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:121)
>         at org.apache.synapse.mediators.MediatorWorker.run(MediatorWorker.java:64)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
>         at java.util.HashMap$KeyIterator.next(HashMap.java:823)
>         at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.removeUnwantedHeaders(HttpCoreNIOSender.java:247)
>         at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:203)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:192)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:176)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>         at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:251)
>         at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:55)
>         ... 8 more

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Esb-java-dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev