Bug 1247966

Summary: [userportal] Unable to add new nic to vm
Product: [oVirt] ovirt-engine Reporter: Ondra Machacek <omachace>
Component: Frontend.UserPortalAssignee: Yevgeny Zaspitsky <yzaspits>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: high Docs Contact:
Priority: high    
Version: ---CC: bazulay, bugs, ecohen, gcheresh, gklein, lsurette, omachace, rbalakri, yeylon, ylavi
Target Milestone: ovirt-3.6.0-rcKeywords: Regression
Target Release: 3.6.0Flags: rule-engine: ovirt-3.6.0+
rule-engine: blocker+
ylavi: Triaged+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:45:07 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:
Bug Depends On: 1266172    
Bug Blocks:    

Description Ondra Machacek 2015-07-29 10:58:15 UTC
Description of problem:


Version-Release number of selected component (if applicable):
3.6.0-4

How reproducible:
always

Steps to Reproduce:
1. Login as admin@internal to UserPortal.
2. Create vm.
3. Click vm, click 'Network Interfaces' subtab. Add new nic.

Actual results:
Frontend Exception: SEVERE: Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 

Dialog don't disappear.

Expected results:
Pass, dialog disappear.

Additional info:
Wed Jul 29 12:55:36 GMT+200 2015 
SEVERE: Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
 __gwt$exception: <skipped>: UY(...) is null
	at Unknown.no(Unknown Source)
	at Unknown.vo(Unknown Source)
	at Unknown.wS(Unknown Source)
	at Unknown.zS(Unknown Source)
	at Unknown.KR(Unknown Source)
	at Unknown.CVc(Unknown Source)
	at Unknown.MVc(Unknown Source)
	at Unknown._N(Unknown Source)
	at Unknown.EVc(Unknown Source)
	at Unknown.Jcd(Unknown Source)
	at Unknown.p1c(Unknown Source)
	at Unknown.m3c(Unknown Source)
	at Unknown.Vp(Unknown Source)
	at Unknown.Zp(Unknown Source)
	at Unknown.Yp/<(Unknown Source)
	at Unknown.lu(Unknown Source)
	at Unknown.ncd(Unknown Source)
	at Unknown.Nyi(Unknown Source)
	at Unknown.Jcd(Unknown Source)
	at Unknown.p1c(Unknown Source)
	at Unknown.o1c(Unknown Source)
	at Unknown.k3c(Unknown Source)
	at Unknown.Vp(Unknown Source)
	at Unknown.Zp(Unknown Source)
	at Unknown.Yp/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: UY(...) is null
	at Unknown.a7m(Unknown Source)
	at Unknown.F4k(Unknown Source)
	at Unknown.Gqm(Unknown Source)
	at Unknown.Wqm(Unknown Source)
	at Unknown.ryi(Unknown Source)
	at Unknown.u3h(Unknown Source)
	at Unknown.uO(Unknown Source)
	at Unknown.UR(Unknown Source)
	at Unknown.KR(Unknown Source)
	at Unknown.CVc(Unknown Source)
	at Unknown.MVc(Unknown Source)
	at Unknown._N(Unknown Source)
	at Unknown.EVc(Unknown Source)
	at Unknown.Jcd(Unknown Source)
	at Unknown.p1c(Unknown Source)
	at Unknown.m3c(Unknown Source)
	at Unknown.Vp(Unknown Source)
	at Unknown.Zp(Unknown Source)
	at Unknown.Yp/<(Unknown Source)
	at Unknown.lu(Unknown Source)
	at Unknown.ncd(Unknown Source)
	at Unknown.Nyi(Unknown Source)
	at Unknown.Jcd(Unknown Source)
	at Unknown.p1c(Unknown Source)
	at Unknown.o1c(Unknown Source)
	at Unknown.k3c(Unknown Source)
	at Unknown.Vp(Unknown Source)
	at Unknown.Zp(Unknown Source)
	at Unknown.Yp/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)

Comment 1 Yaniv Lavi 2015-08-05 12:17:22 UTC
What browser are you using?

Comment 2 Ondra Machacek 2015-08-05 12:25:35 UTC
firefox-39.0-8.fc22.x86_64

Comment 3 Yaniv Lavi 2015-08-06 12:25:10 UTC
Could this happen due to elem is null?
Can you have a look? It's a GWT error.

Comment 4 Einav Cohen 2015-08-06 13:32:22 UTC
(In reply to Yaniv Dary from comment #3)
> Could this happen due to elem is null?

probably not; the 'elem is null' issue is (a) not happening in 3.6 and (b) happening (in 3.5) only over WAN for scale environments (see bug 1218371 - needinfo for you there, BTW). 

> Can you have a look? It's a GWT error.

I suggest that the network team will take a look first - this is, most likely, an application-level NPE, not a gwt/infrastructure NPE. 

(compiling the code in debug mode, i.e., non-obfuscated mode, should clarify where the problem is; if assistance will be needed from the ux team, for some reason - we will be happy to help).

Comment 5 Michael Burman 2015-10-07 15:10:25 UTC
Can't test this report, blocked by BZ 1266172

Comment 6 GenadiC 2015-10-08 09:23:33 UTC
Verified on 3.6.0-0.18.el6

Comment 7 Sandro Bonazzola 2015-11-04 11:45:07 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.