Description of problem: The webadmin tries to read the Reports.xml from the server. Previously if the file didn't exist in the server the request failed. Now, if hte file doesn't exist the page is redirected so the request doesn't fail. The new behaviour causes a NPE. It doesnn't affect on the webadmin behaviour, the webadmin start correcty besided the exception. p.s- the exception can be seen just in gwt debug mode. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
http://gerrit.ovirt.org/#/c/7344/2
upstream commit 03998832218d1112e0daa5189c2bb366d1dc0d58
Additional check for HTTP response status was added to avoid parsing response body for failed responses (e.g. missing Reports.xml that results in 404 error page as HTML in response body). Upstream patch: http://gerrit.ovirt.org/7512 [commit hash 422c1e2d3da2a67074e6a4f892257118c6683f23] Downstream patch: https://gerrit.eng.lab.tlv.redhat.com/1595 [commit hash a51ddbbc9a53b5d8f9a627691b1b4f77e02e8589]