Description of problem: Unable to add new Log Event Source Version-Release number of selected component (if applicable): 4.11.0-SNAPSHOT (769bb647a) How reproducible: always Steps to Reproduce: 1. go to connection settings for EAP resource 2. try to add new Log Event Source Actual results: ... Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:604) [rt.jar:1.7.0_09] at java.util.ArrayList.get(ArrayList.java:382) [rt.jar:1.7.0_09] at org.hibernate.collection.internal.PersistentBag.get(PersistentBag.java:440) [hibernate-core-4.2.0.CR1.jar:4.2.0.CR1] at org.rhq.core.domain.configuration.ConfigurationUtility.validateProperty(ConfigurationUtility.java:356) [rhq-core-domain-ejb3.jar:4.11.0-SNAPSHOT] at org.rhq.core.domain.configuration.ConfigurationUtility.validateConfiguration(ConfigurationUtility.java:164) [rhq-core-domain-ejb3.jar:4.11.0-SNAPSHOT] at org.rhq.enterprise.server.configuration.ConfigurationManagerBean.updatePluginConfiguration(ConfigurationManagerBean.java:296) [rhq-server.jar:4.11.0-SNAPSHOT] (full exception in attachment) Expected results: the new event source is added Additional info: When enabling/disabling the existing event source, it works properly.
^ of course, there should be also third repro step: 3. hit save button
Created attachment 888448 [details] server.log exception
it looks like a regression introduced by 8eff7c11c
This is a regression of commit for Bug 1065461. master commit 1b551ae7671296891ff88370565005b230c59df3 Author: Jay Shaughnessy <jshaughn> Date: Tue Apr 22 17:04:35 2014 -0400 - Fix a regression in List of Maps handling by relaxing size assumptions - on the old and new list entries. - Add equals check
master commit 0a68d685a939d2b9da6340193972e00435b9d402 Author: Jay Shaughnessy <jshaughn> Date: Wed Apr 23 09:56:25 2014 -0400 - an NPE fix to prior commit 1b551ae7671
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out. If you find an issue with those, please open a new BZ, linking to the old one.