Bug 1187645
Summary: | UnsupportedOperationException on mergeInventoryReport() | |||
---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Libor Zoubek <lzoubek> | |
Component: | Core Server | Assignee: | RHQ Project Maintainer <rhq-maint> | |
Status: | CLOSED ERRATA | QA Contact: | Mike Foley <mfoley> | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | JON 3.3.0 | CC: | hrupp, jshaughn, loleary, lzoubek, mfoley, mmahoney, stianlund+bugzilla, theute | |
Target Milestone: | ER01 | Keywords: | GSSTriaged | |
Target Release: | JON 3.3.2 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 1174841 | |||
: | 1197908 (view as bug list) | Environment: | ||
Last Closed: | 2015-04-30 16:10:52 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: | 1174841 | |||
Bug Blocks: | 1197908 |
Description
Libor Zoubek
2015-01-30 14:52:54 UTC
branch: release/jon3.3.x link: https://github.com/rhq-project/rhq/commit/f0826cd19 time: 2015-04-01 19:42:31 +0200 commit: f0826cd19dd64453eea458f69dcd2c5fc9973956 author: Jay Shaughnessy - jshaughn message: [1174841] UnsupportedOperationException on mergeInventoryReport() Avoid the use of Iterator.remove() because Resources coming from the Agent may be using a customized impl for Resource.childResources (like CopyOnWriteArraySet). The solution "lazily protects" because the problem scenario is rare (restype reported by agent is not present on the server) and we don't want to do any unnecessary work (like changing the Set impl in advance). (cherry picked from commit 9c374100de109ffa2f759a16b96da5ec20dc8a9a) Signed-off-by: Libor Zoubek <lzoubek> Moving to ON_QA for testing with latest cumulative patch build: https://brewweb.devel.redhat.com//buildinfo?buildID=429507 Note: Build maps to JON 3.3.2 ER01 build. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0920.html |