0 Replies Latest reply on May 28, 2015 7:54 AM by Marco Strauch

    ConcurrentModificationException within FeatureSet

    Marco Strauch Newbie

      Hi,

       

      we are using JBoss WS Native 3.4.1.GA on JBoss AS 6.0.

       

      Sometimes we get follow error:

       

      Caused by: java.util.ConcurrentModificationException

          at java.util.HashMap$HashIterator.nextEntry(HashMap.java:848)

          at java.util.HashMap$KeyIterator.next(HashMap.java:883)

          at org.jboss.ws.metadata.umdm.FeatureSet.getFeatures(FeatureSet.java:71)

          at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:249)

          at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:570)

          at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:518)

          at javax.xml.ws.Service.getPort(Service.java:140)

       

      I looked into the code of the FeatureSet and ServiceDelegateImpl but I cannot find anything that could cause this error. The Feature Set is initialized when the endpoint is configured. The FeatureSet is not synchronized and this error can only apear when the internal hasmap is being changed.

       

      Does any body know this error?

       

      Kind regards,

       

      Marco.