reposting...but seems related to ..
http://mail-archives.apache.org/mod_mbox/cxf-commits/201002.mbox/%[email protected]%3E

it seems related to that checkin. however, dan, please confirm.

creating cxf proxy and on multiple runs (~10000) with executorservice
threads seeded to #of CPU -1 ( 24 core m/c ), so 23 threads, we get a
concurrent modification exception with stack trace as follows -


Caused by: java.util.ConcurrentModificationException: null
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
        at java.util.HashMap$EntryIterator.next(HashMap.java:834)
        at java.util.HashMap$EntryIterator.next(HashMap.java:832)
        at java.util.HashMap.putAll(HashMap.java:523)
        at org.apache.cxf.message.MessageImpl$1.putAll(MessageImpl.java:213)
        at
org.apache.cxf.message.MessageImpl.calcContextCache(MessageImpl.java:225)
        at
org.apache.cxf.message.MessageImpl.getContextualProperty(MessageImpl.java:204)
        at
org.apache.cxf.message.AbstractWrappedMessage.getContextualProperty(AbstractWrappedMessage.java:164)
        at
org.apache.cxf.message.MessageUtils.getContextualBoolean(MessageUtils.java:122)
        at
org.apache.cxf.transport.http.Cookies.writeToMessageHeaders(Cookies.java:52)
        at
org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:533)
        at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:461)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:364)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
        at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
        at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) 



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Concurrent-Modification-Exception-for-cxf-2-4-9-tp5738271.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to