Bug 1484828 - [UI] - UI exception after snapshot create and preview
Summary: [UI] - UI exception after snapshot create and preview
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ovirt-4.2.0
: ---
Assignee: Tomas Jelinek
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
: 1490405 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-24 11:35 UTC by Michael Burman
Modified: 2017-12-20 10:56 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 10:56:08 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: planning_ack+
tjelinek: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)
ui log (38.95 KB, application/x-gzip)
2017-08-24 11:35 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81082 0 master POST webadmin: NPE when moving away from snapshot subtab in wrong moment 2017-08-28 08:08:07 UTC
oVirt gerrit 84630 0 master MERGED webadmin: render the details only if available 2017-11-24 14:11:13 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.