Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2669

ConcurrentModificationException releasing JSF factories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.2.0.Final, 9.0.0.Alpha1
    • 8.0.0.Beta1
    • JSF
    • None

      Saw this happen once. Probably a thread-safety problem in JSF API:

      5:04:37,876 ERROR [io.undertow.servlet.request] (MSC service thread 1-4) UT015005: Error invoking method contextDestroyed on listener class com.sun.faces.config.ConfigureListener: java.util.ConcurrentModificationException
              at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926) [rt.jar:1.7.0_45]
              at java.util.HashMap$ValueIterator.next(HashMap.java:954) [rt.jar:1.7.0_45]
              at javax.faces.FactoryFinder.releaseFactories(FactoryFinder.java:440) [jboss-jsf-api_2.2_spec-2.2.4.jar:2.2.4]
              at com.sun.faces.config.ConfigManager.releaseFactories(ConfigManager.java:808) [jsf-impl-2.2.4-jbossorg-1.jar:]
              at com.sun.faces.config.ConfigManager.destroy(ConfigManager.java:474) [jsf-impl-2.2.4-jbossorg-1.jar:]
              at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:329) [jsf-impl-2.2.4-jbossorg-1.jar:]
              at io.undertow.servlet.core.ApplicationListeners.contextDestroyed(ApplicationListeners.java:185) [undertow-servlet-1.0.0.Beta27.jar:1.0.0.Beta27]
              at io.undertow.servlet.core.DeploymentImpl.destroy(DeploymentImpl.java:216) [undertow-servlet-1.0.0.Beta27.jar:1.0.0.Beta27]
              at io.undertow.servlet.core.DeploymentManagerImpl.undeploy(DeploymentManagerImpl.java:523) [undertow-servlet-1.0.0.Beta27.jar:1.0.0.Beta27]
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stopContext(UndertowDeploymentService.java:117)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stop(UndertowDeploymentService.java:100)
              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
              at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
      

              fjuma1@redhat.com Farah Juma
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: