Description of problem: When the content repository view is empty, there is a single node named 'root'. If you select that node, you will see a globally uncaught exception in the UI. The actual exception is a NPE in ContentRepositoryTreeView. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Log into an RHQ server that has no content repositories. 2. Click the 'Bundles' link from the menu at the top of the page. 3. The 'Repositories' view will be on the bottom left. Click on the header to expand the section. 4. Then click on 'root' row/folder. Actual results: A globally uncaught exception is reported in the UI. Expected results: No exception should be thrown/reported. Additional info:
Added a null check for when there are no repos. master commit hash: 2c2d2aeffc8dd7adf3e0f60711f9556b52355baf
verified rhq 4.3
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE
marking VERIFIED BZs to CLOSED/CURRENTRELEASE