Repro steps: 1) Go to a Resource's Alerts > History view. Make sure it contains at least 200 or so alerts. 2) Scroll all the way to the bottom of the table and wait for the data to fully load. 3) Click the Delete All button to delete all alerts. 4) Once the Refresh button becomes enabled, click it repeatedly. You should get an error message with details similar to the following: "IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 0, PageControl[firstRow=229, size=50]"
[master c896632] (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commit;h=c896632) fixes this.
Verified on build#540 (Version: 4.1.0-SNAPSHOT Build Number: 1919b71) There were about 380 alerts fired on a resource. Navigated to Resource's Alerts > History view. Scrolled to the bottom and after the data is loaded, clicked on 'Delete All' button. Clicked 'Refresh' button repeatedly and verified that no exception is displayed.
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE
marking VERIFIED BZs to CLOSED/CURRENTRELEASE