[
https://issues.jboss.org/browse/WFLY-4160?page=com.atlassian.jira.plugin....
]
Devendra Bargujar updated WFLY-4160:
------------------------------------
Description:
While deploying 2 JSF application getting ConcurrentModificationException on
NavigationHandlerImpl$NavigationMap$. App also uses seam 3.1.0. Please refer below stack
trace.
11:57:21,898 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-2) Initializing Mojarra 2.2.8-jbossorg-1 20140822-1131 for context '/com'
11:57:21,898 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-6) Initializing Mojarra 2.2.8-jbossorg-1 20140822-1131 for context '/sof'
11:57:26,218 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-2) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:449)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
[undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at
io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:193)
[undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_25]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_25]
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) [rt.jar:1.8.0_25]
at java.util.HashMap$EntryIterator.next(HashMap.java:1463) [rt.jar:1.8.0_25]
at java.util.HashMap$EntryIterator.next(HashMap.java:1461) [rt.jar:1.8.0_25]
at
com.sun.faces.application.NavigationHandlerImpl$NavigationMap$4$1.next(NavigationHandlerImpl.java:1523)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.NavigationHandlerImpl$NavigationMap$4$1.next(NavigationHandlerImpl.java:1511)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at java.util.AbstractMap.get(AbstractMap.java:185) [rt.jar:1.8.0_25]
at
com.sun.faces.config.processor.NavigationConfigProcessor.addNavigationCasesForRule(NavigationConfigProcessor.java:323)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.NavigationConfigProcessor.addNavigationRules(NavigationConfigProcessor.java:224)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.NavigationConfigProcessor.process(NavigationConfigProcessor.java:167)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:196)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:344)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)
[jsf-impl-2.2.8-jbossorg-1.jar:]
Caused by: java.lang.NullPointerException
at
com.sun.faces.facelets.impl.DefaultResourceResolver.resolveUrl(DefaultResourceResolver.java:77)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.facelets.impl.DefaultFaceletFactory.init(DefaultFaceletFactory.java:170)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.ApplicationAssociate.createFaceletFactory(ApplicationAssociate.java:866)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.ApplicationAssociate.initializeFacelets(ApplicationAssociate.java:327)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.ApplicationAssociate.getCompiler(ApplicationAssociate.java:410)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:251)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:437)
[jsf-impl-2.2.8-jbossorg-1.jar:]
... 10 more
was:
While deploying 2 JSF application getting ConcurrentModificationException on
NavigationHandlerImpl$NavigationMap$. App also uses seam 3.1.0. Please refer below stack
trace.
11:57:21,898 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-2) Initializing Mojarra 2.2.8-jbossorg-1 20140822-1131 for context '/com'
11:57:21,898 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-6) Initializing Mojarra 2.2.8-jbossorg-1 20140822-1131 for context '/sof'
11:57:26,218 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-2) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:449)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
[undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at
io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:193)
[undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_25]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_25]
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) [rt.jar:1.8.0_25]
at java.util.HashMap$EntryIterator.next(HashMap.java:1463) [rt.jar:1.8.0_25]
at java.util.HashMap$EntryIterator.next(HashMap.java:1461) [rt.jar:1.8.0_25]
at
com.sun.faces.application.NavigationHandlerImpl$NavigationMap$4$1.next(NavigationHandlerImpl.java:1523)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.NavigationHandlerImpl$NavigationMap$4$1.next(NavigationHandlerImpl.java:1511)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at java.util.AbstractMap.get(AbstractMap.java:185) [rt.jar:1.8.0_25]
at
com.sun.faces.config.processor.NavigationConfigProcessor.addNavigationCasesForRule(NavigationConfigProcessor.java:323)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.NavigationConfigProcessor.addNavigationRules(NavigationConfigProcessor.java:224)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.NavigationConfigProcessor.process(NavigationConfigProcessor.java:167)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:196)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:344)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)
[jsf-impl-2.2.8-jbossorg-1.jar:]
ConcurrentModificationException while deploy JSF application (8.2.0)
--------------------------------------------------------------------
Key: WFLY-4160
URL:
https://issues.jboss.org/browse/WFLY-4160
Project: WildFly
Issue Type: Bug
Components: JSF
Affects Versions: 8.2.0.Final
Environment: WildFly (8.2.0 - Final)
Reporter: Devendra Bargujar
Assignee: Farah Juma
Labels: new_and_noteworthy
While deploying 2 JSF application getting ConcurrentModificationException on
NavigationHandlerImpl$NavigationMap$. App also uses seam 3.1.0. Please refer below stack
trace.
11:57:21,898 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-2) Initializing Mojarra 2.2.8-jbossorg-1 20140822-1131 for context
'/com'
11:57:21,898 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-6) Initializing Mojarra 2.2.8-jbossorg-1 20140822-1131 for context
'/sof'
11:57:26,218 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-2) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:449)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
[undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at
io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:193)
[undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_25]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_25]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_25]
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) [rt.jar:1.8.0_25]
at java.util.HashMap$EntryIterator.next(HashMap.java:1463) [rt.jar:1.8.0_25]
at java.util.HashMap$EntryIterator.next(HashMap.java:1461) [rt.jar:1.8.0_25]
at
com.sun.faces.application.NavigationHandlerImpl$NavigationMap$4$1.next(NavigationHandlerImpl.java:1523)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.NavigationHandlerImpl$NavigationMap$4$1.next(NavigationHandlerImpl.java:1511)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at java.util.AbstractMap.get(AbstractMap.java:185) [rt.jar:1.8.0_25]
at
com.sun.faces.config.processor.NavigationConfigProcessor.addNavigationCasesForRule(NavigationConfigProcessor.java:323)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.NavigationConfigProcessor.addNavigationRules(NavigationConfigProcessor.java:224)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.NavigationConfigProcessor.process(NavigationConfigProcessor.java:167)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:196)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:344)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)
[jsf-impl-2.2.8-jbossorg-1.jar:]
Caused by: java.lang.NullPointerException
at
com.sun.faces.facelets.impl.DefaultResourceResolver.resolveUrl(DefaultResourceResolver.java:77)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.facelets.impl.DefaultFaceletFactory.init(DefaultFaceletFactory.java:170)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.ApplicationAssociate.createFaceletFactory(ApplicationAssociate.java:866)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.ApplicationAssociate.initializeFacelets(ApplicationAssociate.java:327)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.application.ApplicationAssociate.getCompiler(ApplicationAssociate.java:410)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at
com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:251)
[jsf-impl-2.2.8-jbossorg-1.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:437)
[jsf-impl-2.2.8-jbossorg-1.jar:]
... 10 more
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)