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

Bug 1421973

Summary: [UI] Uncaught exception when dragging the whole interface panel on top of other interface panel in the Setup Networks dialog
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.NetworkAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: low Docs Contact:
Priority: low    
Version: 4.1.0.4CC: bugs, mburman
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
Target Release: 4.1.1.3   
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-04-21 09:38:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
record and logs none

Description Michael Burman 2017-02-14 09:06:02 UTC
Created attachment 1250152 [details]
record and logs

Description of problem:
[UI] Uncaught exception when dragging the whole interface panel on top of other interface panel in the Setup Networks dialog. 

It is possible to drag the whole interface panel(and not just the interface icon) in the setup networks dialog to create bond for example, which will cause to ui exceptions. 

2017-02-14 10:48:17,100+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-1) [] Permutation name: 3C5F96A55FF75A73745EE6714CEFFD0A
2017-02-14 10:48:17,100+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-1) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: null Operands
        at Unknown.Av(webadmin-0.js@29429)
        at Unknown.Iv(webadmin-0.js@41)
        at Unknown.l9(webadmin-0.js@19)
        at Unknown.p9(webadmin-0.js@19)
        at Unknown.x8(webadmin-0.js@117)
        at Unknown.Wp(webadmin-0.js@26)
        at Unknown.eq(webadmin-0.js@24224)
        at Unknown.f4(webadmin-0.js@149)
        at Unknown.Yp(webadmin-0.js@112)
        at Unknown.hq(webadmin-0.js@24320)
        at Unknown.m4e(webadmin-0.js@85)
        at Unknown.o6e(webadmin-0.js@46)
        at Unknown.Qx(webadmin-0.js@29)
        at Unknown.Ux(webadmin-0.js@57)
        at Unknown.eval(webadmin-0.js@54)
Caused by: java.lang.IllegalArgumentException: null Operands
        at Unknown.Av(webadmin-0.js@29429)


Version-Release number of selected component (if applicable):
4.1.1-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Go to Setup Host Networks dialog under 'Hosts' main tab 
2. Drag the whole interface panel(not just the interface icon) on top of another interface panel to create bond(see record attached)

Actual results:
Uncaught exception occurred. Exception caught:null Operands

Expected results:
Not sure. we should handle this some how if it's possible to drag the whole interface panel.

Additional info:
See logs and record

Comment 1 Yaniv Kaul 2017-02-15 15:08:46 UTC
Please install the correct debuginfo, restart the Engine and reproduce. You'll have a deobfuscated stack trace in ui.log.

Comment 2 Michael Burman 2017-02-16 07:54:41 UTC
2017-02-16 09:53:27,261+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Permutation name: 3C5F96A55FF75A73745EE6714CEFFD0A
2017-02-16 09:53:27,261+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-10) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: null Operands
        at java.lang.Throwable.fillInStackTrace(Throwable.java:114) [rt.jar:1.8.0_121]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_121]
        at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:70) [gwt-servlet.jar:]
        at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25) [gwt-servlet.jar:]
        at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:]
        at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) [gwt-servlet.jar:]
        at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) [gwt-servlet.jar:]
        at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110) [gwt-servlet.jar:]
        at com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163) [gwt-servlet.jar:]
        at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163) [gwt-servlet.jar:]
        at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1648) [gwt-servlet.jar:]
        at com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:320) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java:296) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335) [gwt-servlet.jar:]
        at Unknown.eval(webadmin-0.js@54)
Caused by: java.lang.IllegalArgumentException: null Operands
        at java.lang.Throwable.fillInStackTrace(Throwable.java:114) [rt.jar:1.8.0_121]
        at java.lang.Throwable.Throwable(Throwable.java:54) [rt.jar:1.8.0_121]
        at java.lang.Exception.Exception(Exception.java:28) [rt.jar:1.8.0_121]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:28) [rt.jar:1.8.0_121]
        at java.lang.IllegalArgumentException.IllegalArgumentException(IllegalArgumentException.java:28) [rt.jar:1.8.0_121]
        at org.ovirt.engine.ui.uicommonweb.models.hosts.HostSetupNetworksModel.$candidateOperation(HostSetupNetworksModel.java:208)
        at org.ovirt.engine.ui.webadmin.section.main.view.popup.host.panels.NetworkGroup.$doDrag(NetworkGroup.java:168)
        at org.ovirt.engine.ui.webadmin.section.main.view.popup.host.panels.NetworkGroup$4.onDrop(NetworkGroup.java:140)
        at com.google.gwt.event.dom.client.DropEvent.dispatch(DropEvent.java:57) [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:]

Comment 3 Michael Burman 2017-03-06 07:18:21 UTC
Verified on - 4.1.1.3-0.1.el7