Found a problem related to recent performance branch merge

Heiko W.Rupp hrupp at redhat.com
Thu Jan 30 07:40:27 UTC 2014


Am 29.01.2014 um 18:26 schrieb Thomas Segismont <tsegismo at redhat.com>:

> I saw this in my agent log:
> 
> 2014-01-29 18:18:52,689 WARN  [Content.discovery-5] (rhq.core.pc.content.ContentDiscoveryRunner)- Exception received from component while attempting content retrieval
> java.lang.UnsupportedOperationException
> 	at java.util.AbstractCollection.add(AbstractCollection.java:260)

> This is due to org.rhq.core.pc.inventory.ResourceContainer#getInstalledPackages, which used to create a new empty set, and now returns Collections#emptySet, which is immutable.
> 
> I'm going to update the code to take this into account, but I wanted to let you know that such problems could occur anywhere else.

My fault, yes please go ahead. 

  Heiko



More information about the rhq-devel mailing list