cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Tuan" <frank.t...@gmail.com>
Subject ConcurrentModificationException in client
Date Mon, 09 Jun 2008 22:25:10 GMT
Hi,

I'm encounting the same problem described in this JIRA issue
(http://issues.apache.org/jira/browse/CXF-1569).  Looking at the 2.1
branch, I don't think the fix is applied to 2.1.  Can someone help me
with this problem?

JAXBDataBinding.java in 2.1:
http://fisheye6.atlassian.com/browse/cxf/tags/cxf-2.1/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java?r=651669#l448

Exception:
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
        at java.util.HashMap$KeyIterator.next(HashMap.java:877)
        at org.apache.cxf.common.util.WeakIdentityHashMap.keySet(WeakIdentityHashMap.java:94)
        at org.apache.cxf.common.util.CacheMap.updateMainDataMap(CacheMap.java:55)
        at org.apache.cxf.common.util.CacheMap.get(CacheMap.java:84)
        at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:448)
        at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:287)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:343)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:512)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeerviceModel(ReflectionServiceFactoryBean.java:394)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refl
ectionServiceFactoryBean.java:180)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:163)
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:79)
        at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:51)
        at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:97)
        at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:89)
        at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:369)
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:247)
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:234)
        at javax.xml.ws.Service.getPort(Service.java:92)


Thanks in advance,
Frank

Mime
View raw message