Description of problem: Navigated to the page to display the current configuration for a resource. The content did not load and instead a red error banner displayed with the following information: Message: Failed to load configuration. Detail: java.lang.RuntimeException:[1368198050579] javax.ejb.EJBException:javax.persistence.NonUniqueResultException: result returns 2 elements -> javax.persistence.NonUniqueResultException:result returns 2 elements --- STACK TRACE FOLLOWS --- [1368198050579] javax.ejb.EJBException:javax.persistence.NonUniqueResultException: result returns 2 elements -> javax.persistence.NonUniqueResultException:result returns 2 elements Then discovered that it was being caused by two items in the configuration history having the exact same creation and modified times in the database. Was able to resolve by loading the configuration history page and deleting one of the duplicate entries, but it is unknown as to why they got created like that in the first place. (Also, neither update was directly created by a user; they were automatically generated by RHQ). Version-Release number of selected component (if applicable): Version: 4.2.0 Build Number: 6746535 How reproducible: Have not been able to reproduce. Actual results: Error banner displays; configuration page does not load. Expected results: Configuration page loads without error. Additional info: