Created attachment 1198189 [details] engine.log Description of problem: after migrating VM from Hosts list to other host with no running VM and clicking on Virtual machines, UI error occurs Version-Release number of selected component (if applicable): ovirt-engine-webadmin-portal-4.0.4-0.1.el7ev.noarch How reproducible: on slower engine most of the time, depends on how quick you click on Virtual machines Steps to Reproduce: 1. go to Hosts, select some host with running VM 2. go to list of its running VM 3. migrate VM from this list to host that has no running VM 4. right after closing the window for migrating, click to Virtual machines in the main menu Actual results: Uncaught exception occurred. Please try reloading the page. Details: (TypeError) __gwt$exception: <skipped>: c is null Please have your administrator check the UI logs Expected results: no error occurs Additional info: it also happens when host is put into maintenance engine log attached ui.log: 2016-09-06 10:34:33,995 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-5) [] Permutation name: 18679C8869553B5A8C3071F33CFC5678 2016-09-06 10:34:33,997 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-5) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: c is null at Unknown.Bdx(Unknown Source) at Unknown.Ddx(Unknown Source) at Unknown.lEl(Unknown Source) at Unknown.oEl(Unknown Source) at Unknown.nEl(Unknown Source) at Unknown.WWe(Unknown Source) at Unknown.ZRe(Unknown Source) at Unknown.tXe(Unknown Source) at Unknown.TRe(Unknown Source) at Unknown.vQe(Unknown Source) at Unknown.jRe(Unknown Source) at Unknown.oSe(Unknown Source) at Unknown.OXe(Unknown Source) at Unknown.lYe(Unknown Source) at Unknown.Ay(Unknown Source) at Unknown.qy(Unknown Source) at Unknown.Ux(Unknown Source) at Unknown.Tx(Unknown Source) at Unknown.Sx/<(Unknown Source) at Unknown.anonymous(Unknown Source)
Severity is missing. please add debuginfo and get a proper stack.
I'm sorry, here it is 2016-09-07 06:32:37,429 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: c is null at org.ovirt.engine.ui.webadmin.section.main.view.tab.host.SubTabHostVmView$8.$getRawValue(SubTabHostVmView.java:129) at org.ovirt.engine.ui.webadmin.section.main.view.tab.host.SubTabHostVmView$8.getRawValue(SubTabHostVmView.java:129) at org.ovirt.engine.ui.common.widget.table.column.AbstractRenderedTextColumn.$getValue(AbstractRenderedTextColumn.java:24) at org.ovirt.engine.ui.common.widget.table.column.AbstractRenderedTextColumn.getValue(AbstractRenderedTextColumn.java:24) at org.ovirt.engine.ui.common.widget.table.column.AbstractRenderedTextColumn.getValue(AbstractRenderedTextColumn.java:24) at com.google.gwt.user.cellview.client.Column.render(Column.java:164) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$renderCell(AbstractCellTableBuilder.java:187) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.DefaultCellTableBuilder.$buildRowImpl(DefaultCellTableBuilder.java:62) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$buildRow(AbstractCellTableBuilder.java:85) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.AbstractCellTable.$buildRowValues(AbstractCellTable.java:2346) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.AbstractCellTable.replaceAllChildren(AbstractCellTable.java:2145) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.AbstractHasData$View.replaceAllChildren(AbstractHasData.java:237) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.HasDataPresenter.$resolvePendingState(HasDataPresenter.java:1062) [gwt-servlet.jar:] at com.google.gwt.user.cellview.client.HasDataPresenter$2.execute(HasDataPresenter.java:981) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:270) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.Impl.exit(Impl.java:378) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335) [gwt-servlet.jar:] at Unknown.Sx/<(Unknown Source) at Unknown.anonymous(Unknown Source)
ok, simulated. It is a race and you need to be quite quick to make it. The exception is harmless, but nonetheless it deserves a null check on FE. Targeting to 4.1
(In reply to Tomas Jelinek from comment #3) > ok, simulated. > It is a race and you need to be quite quick to make it. The exception is > harmless, but nonetheless it deserves a null check on FE. > Targeting to 4.1 It's not very rare - I see it on RHEV.TLV (with 4.0.4).
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
I tried it several times on engine with less than 4GB memory and 1 CPU and no UI error appears. Even when I slowed it down by creating VMs in pool. verified in ovirt-engine-webadmin-portal-4.1.0-0.2.master.20161215195836.gite14ff4a.el7.centos.noarch