Hide Forgot
Description of problem: When moving to second import dialog, an uncaught exception occurs and import dialog is terminated. In such case, VMs cannot be imported from any external provider. Version-Release number of selected component (if applicable): ovirt-engine-4.0.5.4-0.1.el7ev qemu-kvm-rhev-2.6.0-27.el7.x86_64 vdsm-4.18.15.2-1.el7ev.x86_64 libvirt-client-2.0.0-10.el7.x86_64 How reproducible: 100%, verified also on different setups. Relevant for VMware, XEN and KVM providers. Steps to Reproduce: 1. Browse webadmin -> virtual machines tab -> import 2. Enter external provider details, click load, select VM to import 3. Click next Actual results: Import dialog terminated. Inspect element console shows that an uncaught exception occurred: 2016-10-30 17:04:49,624 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Permutation name: 2D3D9270307C9078085A70A0F003D07C 2016-10-30 17:04:49,624 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) __gwt$exception: <skipped>: Cannot read property 'Tc' of undefined Expected results: Import dialog should not be terminated. Additional info: ui.log (with webadmin-portal-debuginfo), engine.log and vdsm.log attached. issue occurred at: 2016-10-30 17:04:49,624
Created attachment 1215567 [details] ui.log
Created attachment 1215568 [details] engine.log
Created attachment 1215569 [details] vdsm.log
Possibly a duplicate of bug 1389998
Copy-paste of full stack (so in the future it can be searched in Bugzilla): Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: Cannot read property 'Tc' of undefined at org.ovirt.engine.ui.common.widget.AbstractUiCommandButton.$cleanup(AbstractUiCommandButton.java:108) at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportVmsPopupView_DriverImpl.$cleanup(ImportVmsPopupView_DriverImpl.java:107) at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportVmsPopupView.cleanup(ImportVmsPopupView.java:484) at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$hideAndUnbind(AbstractModelBoundPopupPresenterWidget.java:272) at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler.$handleWindowModelChange(ModelBoundPopupHandler.java:80) at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler$1.eventRaised(ModelBoundPopupHandler.java:61) at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:114) at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChanged(Model.java:470) at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChanged(Model.java:470) at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Model.java:92) at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.$onConfigureVmsToImport(VmListModel.java:2307) at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.$executeCommand(VmListModel.java:2085) at org.ovirt.engine.ui.uicommonweb.models.vms.VmListModel.executeCommand(VmListModel.java:2085) at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:163) at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget$6.onClick(AbstractModelBoundPopupPresenterWidget.java:334) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:55) [gwt-servlet.jar:] at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:] at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:] ... 21 more
@Greg: it looks a lot like dup of 1389998. While fixing it, could you please verify it resolves also this?
Not sure if duplicate or just caused by the same as 1389998 - moving to UX for investigation.
> at org.ovirt.engine.ui.common.widget.AbstractUiCommandButton.$cleanup(AbstractUiCommandButton.java:108) > at org.ovirt.engine.ui.webadmin.section.main.view.popup.ImportVmsPopupView_DriverImpl.$cleanup(ImportVmsPopupView_DriverImpl.java:107) NPE due to dialog object cleanup introduced recently, I'll investigate.
This is the same issue as bug 1389998
*** This bug has been marked as a duplicate of bug 1389998 ***