Bug 1266112
Summary: | (6.4.z) ConcurrentModificationException in ClusterContext.getConnectedAndDeployedNodes | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Ladislav Thon <lthon> |
Component: | EJB, Clustering | Assignee: | Enrique Gonzalez Martinez <egonzale> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ladislav Thon <lthon> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4.4 | CC: | bmaxwell, cdewolf, david.lloyd, egonzale, rachmato |
Target Milestone: | CR1 | ||
Target Release: | EAP 6.4.5 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-17 11:38:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1235745, 1261014 |
Description
Ladislav Thon
2015-09-24 13:57:44 UTC
Iterating over a set while performing operations like adding or removing items without synchronizing those operations seems to be the problem. they are not sync with the same lock, e.g: https://github.com/jbossas/jboss-ejb-client/blob/18c52b4141d5de2d1164e2f1277336e956f26e55/src/main/java/org/jboss/ejb/client/ClusterContext.java#L122 https://github.com/jbossas/jboss-ejb-client/blob/18c52b4141d5de2d1164e2f1277336e956f26e55/src/main/java/org/jboss/ejb/client/ClusterContext.java#L265 more info: https://github.com/jbossas/jboss-ejb-client/blob/18c52b4141d5de2d1164e2f1277336e956f26e55/src/main/java/org/jboss/ejb/client/ClusterContext.java#L66 http://docs.oracle.com/javase/6/docs/api/java/util/Collections.html#synchronizedSet%28java.util.Set%29 Verified with EAP 6.4.5.CP.CR1. Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |