Bug 717921
Summary: | Creating an event log under RHQ Server resource displays IndexOutOfBoundsException. | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Sunil Kondkar <skondkar> |
Component: | Events | Assignee: | Ian Springer <ian.springer> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | unspecified | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.1 | CC: | ccrouch, hrupp, ian.springer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-07 19:25:45 UTC | Type: | --- |
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: | 625146, 725459 |
Description
Sunil Kondkar
2011-06-30 12:25:54 UTC
If this is a general problem with events, its bad It's not - it's a bug in the config masking code that I recently added. Here's the root cause: Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.hibernate.collection.PersistentBag.get(PersistentBag.java:423) at org.rhq.enterprise.server.configuration.util.ConfigurationMaskingUtility.unmaskProperty(ConfigurationMaskingUtility.java:162) at org.rhq.enterprise.server.configuration.util.ConfigurationMaskingUtility.unmaskConfiguration(ConfigurationMaskingUtility.java:93) at org.rhq.enterprise.server.configuration.ConfigurationManagerBean.updatePluginConfiguration(ConfigurationManagerBean.java:277) [master 1307c8d] should fix this. Verified on build#236 (Version: 4.1.0-SNAPSHOT Build Number: e4fa39a) Successfully created an event log in the Inventory >Connection Settings tab of RHQ Server (JBoss As server). No exception is observed in server log. Marking as verified. changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |