Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-92

Concurrency issue in EJBClientContext

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.23.Final, 2.0.0.Beta3
    • 1.0.22.Final, 2.0.0.Beta3
    • None

    Description

      I noticed this problem in a failure report of a WildFly testsuite run:

      [10/10/13 8:13:09 AM] Brian Stansberry: https://github.com/wildfly/wildfly/pull/5250#issuecomment-26030622
      [10/10/13 8:13:23 AM] Brian Stansberry: java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
      at java.util.HashMap$KeyIterator.next(HashMap.java:928)
      at org.jboss.ejb.client.EJBClientContext.close(EJBClientContext.java:1160)
      at org.jboss.as.test.clustering.cluster.ejb3.stateless.RemoteStatelessFailoverTestCase.testFailoverOnStop(RemoteStatelessFailoverTestCase.java:135)

      Sounds like a concurrency issue; perhaps a missing sync block around an iteration?

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: