[jboss-jira] [JBoss JIRA] (WFLY-7915) CCME in WildFlyJobXmlResolver

James Perkins (JIRA) issues at jboss.org
Thu Jan 19 11:31:00 EST 2017


    [ https://issues.jboss.org/browse/WFLY-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13351225#comment-13351225 ] 

James Perkins commented on WFLY-7915:
-------------------------------------

This seems odd. Each deployment should have their own {{WildFlyJobXmlResolver}} and the collection is only modified during initialization.

> CCME in WildFlyJobXmlResolver
> -----------------------------
>
>                 Key: WFLY-7915
>                 URL: https://issues.jboss.org/browse/WFLY-7915
>             Project: WildFly
>          Issue Type: Bug
>          Components: Batch
>            Reporter: Tomaz Cerar
>            Assignee: James Perkins
>
> When running on JDK9-ea there are ConncurrentModificationExceptions happening in WildFlyJobXmlResolver
> Problem can happen also on JDK8 but it looks like it is easier to reproduce on JDK9.
> {code}
> Caused by: java.util.ConcurrentModificationException at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1138) 
> at org.wildfly.extension.batch.jberet.deployment.WildFlyJobXmlResolver.addJob(WildFlyJobXmlResolver.java:290) 
> at org.wildfly.extension.batch.jberet.deployment.WildFlyJobXmlResolver.init(WildFlyJobXmlResolver.java:280) 
> at org.wildfly.extension.batch.jberet.deployment.WildFlyJobXmlResolver.create(WildFlyJobXmlResolver.java:231) 
> at org.wildfly.extension.batch.jberet.deployment.WildFlyJobXmlResolver.forDeployment(WildFlyJobXmlResolver.java:110) 
> at org.wildfly.extension.batch.jberet.deployment.BatchEnvironmentProcessor.deploy(BatchEnvironmentProcessor.java:77) 
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
> {code}
> see https://ci.wildfly.org/viewLog.html?buildId=41982&tab=buildResultsDiv&buildTypeId=WF_MasterLinuxJdk9ea for failures



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list