Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8082

[Apache cxf 3.1.4] ConcurrentModificationException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Information Provided
    • Affects Version/s: 3.1.4
    • Fix Version/s: None
    • Component/s: Bus
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Scenario: we have an exception with the following stack trace in one a batch processing using spring batch. This batch use 4 concurrents thread , each of them make processiing in separate partition

      Caused by: java.util.ConcurrentModificationException: null
          at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
          at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
          at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
          at java.util.AbstractMap.putAll(AbstractMap.java:280)
          at java.util.TreeMap.putAll(TreeMap.java:327)
          at org.apache.cxf.transport.http.Headers.getSetProtocolHeaders(Headers.java:249)
          at org.apache.cxf.transport.http.Headers.<init>(Headers.java:90)
          at org.apache.cxf.transport.http.HTTPConduit.setHeadersByAuthorizationPolicy(HTTPConduit.java:787)
          at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:556)
          at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
          at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
          at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
          at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
          at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
          at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
          at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
          at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Samadou SARE Samadou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: