Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1484828

Summary: [UI] - UI exception after snapshot create and preview
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: Frontend.WebAdminAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, lsvaty, oourfali, pagranat, tjelinek
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
rule-engine: planning_ack+
tjelinek: devel_ack+
lsvaty: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 10:56:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ui log none

Description Michael Burman 2017-08-24 11:35:28 UTC
Created attachment 1317655 [details]
ui log

Description of problem:
[UI] - UI exception after snapshot preview - 

2017-08-24 13:51:07,792+03 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-2) [] Permutation name: E6786997CC11E5D4D46C0E5D138DB93F
2017-08-24 13:51:07,792+03 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-2) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'K' of null
        at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.VmSnapshotListViewItem(VmSnapshotListViewItem.java:62)
        at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListModelTable.$createListViewItem(VmSnapshotListModelTable.java:60)
        at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListModelTable.createListViewItem(VmSnapshotListModelTable.java:60)
        at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$updateInfoPanel(PatternflyListView.java:108)
        at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView$lambda$1$Type.eventRaised(PatternflyListView.java:42)
        at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170823165744.git116f435.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Create snapshot from VM 
2. Preview the snapshot 
3. Go to VMs main list

Actual results:
UI exception - Cannot read property 'K' of null

Expected results:
No exceptions

Comment 1 Tomas Jelinek 2017-09-11 14:13:22 UTC
*** Bug 1490405 has been marked as a duplicate of this bug. ***

Comment 2 Lucie Leistnerova 2017-09-18 13:42:59 UTC
Creating and previewing snapshot still generates UI error

2017-09-18 15:31:27,540+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : R8(...) is null
        at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.VmSnapshotListViewItem(VmSnapshotListViewItem.java:62)
        at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineSnapshotView.$createListViewItem(SubTabVirtualMachineSnapshotView.java:69)
        at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineSnapshotView.createListViewItem(SubTabVirtualMachineSnapshotView.java:69)
        at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$updateInfoPanel(PatternflyListView.java:108)
        at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView$lambda$1$Type.eventRaised(PatternflyListView.java:42)
        at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
        at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setItems(SearchableListModel.java:739)
        at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListModel.$updateItems(VmSnapshotListModel.java:231)
        at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListModel.setItems(VmSnapshotListModel.java:203)
        at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel$SetItemsAsyncQuery$1.$onSuccess(SearchableListModel.java:902)
        at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel$SetItemsAsyncQuery$1.onSuccess(SearchableListModel.java:902)
        at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:227) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:227) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270) [frontend.jar:]
        at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:]
        at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233) [gwt-servlet.jar:]
        at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:]
        at Unknown.onreadystatechange<(https://host1.obfuscateddomain0.com/ovirt-engine/webadmin/?locale=en_US)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
        at Unknown.Ju/<(https://host1.obfuscateddomain0.com/ovirt-engine/webadmin/?locale=en_US)
        at Unknown.anonymous(Unknown)


Steps to reproduce:
1. create snapshot
2. use breadcrumb to go to VM grid, before notice 'Finished Creating VM Snapshot ...' appears

tested in ovirt-engine-webadmin-portal-4.2.0-0.0.master.20170917124606.gita804ef7.el7.centos.noarch

Comment 3 Lucie Leistnerova 2017-11-14 14:36:58 UTC
Error still present

[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-1) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Z8(...) is null

When I move to VMs immediately after clicked on preview (preview still processing).

tested in ovirt-engine-webadmin-portal-4.2.0-0.0.master.20171113223918.git25568c3.el7.centos.noarch

Comment 4 Lucie Leistnerova 2017-12-07 09:23:18 UTC
no UI exception

verified in ovirt-engine-webadmin-portal-4.2.0-0.6.el7.noarch

Comment 5 Sandro Bonazzola 2017-12-20 10:56:08 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.