Bug 797999 - ConcurrentModificationException after re-inventorying resource
Summary: ConcurrentModificationException after re-inventorying resource
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent, Core Server
Version: 4.3
Hardware: Unspecified
OS: Linux
urgent
urgent
Target Milestone: ---
: RHQ 4.3.0
Assignee: Charles Crouch
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-27 18:56 UTC by Libor Zoubek
Modified: 2015-11-02 00:42 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-31 09:55:52 UTC
Embargoed:


Attachments (Terms of Use)
server log (502.11 KB, application/octet-stream)
2012-02-27 18:56 UTC, Libor Zoubek
no flags Details

Description Libor Zoubek 2012-02-27 18:56:45 UTC
Created attachment 566119 [details]
server log

Description of problem: When I do inventory/uninventory of any resource I get ConcurrentModificationException in server's log.


Version-Release number of selected component (if applicable):
Version: 4.3.0-SNAPSHOT
Build Number: 3d0d044

How reproducible: always


Steps to Reproduce:
1.have some resource (I have EAP6 ER1 standalone server) under platform in discovery queue
2.inventory it
3.uninventory it
4.run manual autodiscovery
5.inventory it again
  
Actual results: There is an exception in log (see attachement). Not sure if it happens in step 3 or 5. 


Expected results:


Additional info:If I run autodiscovery on agent afther this exception was fired, it becomes 'In progress' for unusual amount of time, afer that whole platform and all resources become down. It does not seem to be related to EAP6 plugin, it happens for each resource.

Comment 1 Charles Crouch 2012-02-27 21:51:02 UTC
I'm wondering if this is related to https://bugzilla.redhat.com/show_bug.cgi?id=794790

Comment 2 Ian Springer 2012-03-05 17:31:16 UTC
Fixed in master:

http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=98149c5

Comment 3 Libor Zoubek 2012-03-09 16:35:02 UTC
verified on Version: 4.4.0-SNAPSHOT Build Number: f02a5b9


Note You need to log in before you can comment on or make changes to this bug.