Bug 1295728

Summary: Uncaught exception occurred when trying to open console if multiple VMs is selected
Product: [oVirt] ovirt-engine Reporter: Shira Maximov <mshira>
Component: Frontend.WebAdminAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, mgoldboi, michal.skrivanek, sbonazzo, tnisan
Target Milestone: ovirt-3.6.3Flags: rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
michal.skrivanek: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:12:12 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:
Bug Depends On:    
Bug Blocks: 1051388    

Description Shira Maximov 2016-01-05 11:02:30 UTC
Description of problem:
selecting 2 VMs : one in up status and one in suspend status.
and Trying to open console 

Uncaught exception occurred. Please try reloading the page. Details: (TypeError) __gwt$exception: <skipped>: a.e is undefined

Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: 3.6.2-0.1.el6 

How reproducible:
100%

Steps to Reproduce:
1.select 2 vms that one in up status and the other is in suspend status.
2. right click -> console
3.

Actual results:
uncaught exception

Expected results:
uncaught exception should not appear (and console should open only for the up VM)

Additional info:
The error in inspect element: 

Tue Jan 05 12:28:59 GMT+200 2016 
SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: a.e is undefined
	at Unknown.fAo(Unknown Source)
	at Unknown.cOo(Unknown Source)
	at Unknown.hOo(Unknown Source)
	at Unknown.EPo(Unknown Source)
	at Unknown.tml(Unknown Source)
	at Unknown.Ojl(Unknown Source)
	at Unknown.Yjl(Unknown Source)
	at Unknown.Ohl(Unknown Source)
	at Unknown.ogf(Unknown Source)
	at Unknown.Ju(Unknown Source)
	at Unknown.zu(Unknown Source)
	at Unknown.bu(Unknown Source)
	at Unknown.au(Unknown Source)
	at Unknown._t/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)

The symbol map of fAo  :
,org.ovirt.engine.ui.uicommonweb.models.VmConsolesImpl::$connect(Lorg/ovirt/engine/ui/uicommonweb/models/VmConsolesImpl;)V,org.ovirt.engine.ui.uicommonweb.models.VmConsolesImpl,$connect,org/ovirt/engine/ui/uicommonweb/models/VmConsolesImpl.java,13,0

Comment 1 Tal Nisan 2016-01-05 12:07:56 UTC
Targeting to 3.6.2 as it's a bug caused after a a change in 3.6 allowed the action to run and can most likely not cause a regression

Comment 2 Shira Maximov 2016-01-31 11:21:46 UTC
verified on :  Red Hat Enterprise Virtualization Manager Version: 3.6.3-0.1.el6 
verification steps: 

1.select 2 vms that one in up status and the other is in suspend status.
2. right click -> console - see that is no Uncaught exception