Created attachment 1448783 [details] screencast: new host UI exception Description of problem: When clicking on New button before the host table is loaded, UI exception is thrown. See the attached screencast. Version-Release number of selected component (if applicable): ovirt-engine-4.2.4.1-0.1.el7.noarch ovirt-engine-webadmin-portal-4.2.4.1-0.1.el7.noarch Browsers: Firefox 52 ESR, 61.b11 Chromium 65 How reproducible: always Steps to Reproduce: 1. Go to Compute / Hosts view. 2. Before the host data grid is loaded, click on New button (for New Host dialog) (*). 3. (*) A more comfortable way to reproduce it is to move the mouse pointer over New button, then reload the page (F5), wait for the action menu bar to load and then click before the host table is loaded. Actual results: UI exception is thrown and New Host dialog is not opened. Expected results: No UI exception, just New Host dialog is opened. Additional info: ui.log excerpt, full exception is attached: ~~~ Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : a.Db is undefined at org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel.$isHeSystem(HostListModel.java:2147) at org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel.$newEntity(HostListModel.java:698) ~~~
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Created attachment 1448784 [details] ui.log
Is only the hosts grid affected?
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : a.Db is undefined Looks like NPE, will check.
@Pavel, I can reproduce the error but the alert box is still positioned correctly. Caused by: java.lang.NullPointerException: null at org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel.isHeSystem(HostListModel.java:2149) ... stuff ...
(In reply to Greg Sheremeta from comment #3) > Is only the hosts grid affected? The error I found (see above comment) indicates that this issue is scoped to host grid only.
(In reply to Greg Sheremeta from comment #3) > Is only the hosts grid affected? Yes, just the hosts grid. I haven't reproduced it with the other grids.
Verified on 4.3.0-0.5.alpha1.el7
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.