Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24367

[GSS](7.4.z) Getting java.util.ConcurrentModificationException while deploying the application

    XMLWordPrintable

Details

    • False
    • None
    • False
    • +
    • Hide

      Simple reproducer was created to show the race condition:

      • Download and compile the reproducer:
        unzip JBEAP-24367-reproducer.zip
        cd JBEAP-24367-reproducer
        mvn package
        
      • Run the test a lot of times cos it's a race condition:
        for i in {1..100}; do   echo "-------------------------------> ${i}";    mvn test;   if [ $? -ne 0 ];   then       break;   fi; done
        
      Show
      Simple reproducer was created to show the race condition: Download and compile the reproducer: unzip JBEAP-24367-reproducer.zip cd JBEAP-24367-reproducer mvn package Run the test a lot of times cos it's a race condition: for i in {1..100}; do echo "-------------------------------> ${i}" ; mvn test; if [ $? -ne 0 ]; then break ; fi; done

    Description

      We get ConcurrentModificationException while deploying a war file on EAP 7.3.10

      This looks to be a bug in :

      org.picketlink.common.util.DocumentUtil#getDocumentBuilderFactory.

      This method is called by multiple threads at once, but is not thread safe in the way it handles documentBuilderFactory.

      Caused by: java.util.ConcurrentModificationException
      at java.util.Hashtable$Enumerator.next(Hashtable.java:1408) 
      at at org.picketlink.common.util.DocumentUtil.getDocumentBuilderFactory(DocumentUtil.java:529)

      Attachments

        Issue Links

          Activity

            People

              rhn-support-rmartinc Ricardo Martin Camarero
              rhn-support-kbawanka Kaustubh Bawankar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: