Bug 1326311

Summary: Getting exception while trying to open Edit dialog while the VM is starting
Product: [oVirt] ovirt-engine Reporter: meital avital <mavital>
Component: BLL.VirtAssignee: jniederm
Status: CLOSED CURRENTRELEASE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.5.1CC: bugs, mgoldboi, michal.skrivanek, tjelinek
Target Milestone: ovirt-3.6.6Flags: rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
mavital: testing_ack+
Target Release: 3.6.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-30 10:54:54 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:

Description meital avital 2016-04-12 11:54:46 UTC
Description of problem:
When trying to open the Edit VM dialog while the VM is starting (powering up), JavaScriptException occurs. 


Version-Release number of selected component (if applicable):
3.6.5.1-0.1.el6

How reproducible: 
Not always.

Steps to Reproduce:
1. Run VM.
2. While the VM is starting (powering up status) try to open the Edit dialog 

Actual results:
2016-04-11 15:28:11,565 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-3) [] Permutation name: A40B02CB6A8D27229C682CD6ED9791F52016-04-11 15:28:11,565 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-3) [] Uncaught exception: : com.google.gwt.core.client.JavaScriptException: (TypeError)  __gwt$exception: <skipped>: a.tb is undefined at org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImagesModel.$getAllCurrentDisks(InstanceImagesModel.java:257) at org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImageLineModel$1.updateBootableDiskAvailable(InstanceImageLineModel.java:140) at org.ovirt.engine.ui.uicommonweb.models.vms.AbstractDiskModel.$commonInitialize(AbstractDiskModel.java:352) at org.ovirt.engine.ui.uicommonweb.models.vms.EditDiskModel.$initialize(EditDiskModel.java:33) at org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImageLineModel.$initialize(InstanceImageLineModel.java:107) at org.ovirt.engine.ui.uicommonweb.models.vms.ExistingVmModelBehavior$6.onSuccess(ExistingVmModelBehavior.java:275) at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:244) [frontend.jar:] at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:244) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:141) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:141) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:271) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:271) [frontend.jar:] at com.google.gwt.rpc.client.impl.RpcCallbackAdapter.onResponseReceived(RpcCallbackAdapter.java:72) [gwt-servlet.jar:] at org.ovirt.engine.ui.common.gin.BaseSystemModule$1$1.onResponseReceived(BaseSystemModule.java:140) at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:237) [gwt-servlet.jar:] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:] at Unknown._vf/c.onreadystatechange<(Unknown Source) 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._t/<(Unknown Source) at Unknown.anonymous(Unknown Source)

Comment 1 jniederm 2016-04-12 18:09:03 UTC
most of the time working steps to reproduce:
1. create a VM with at least one disk
2. select the VM
3. multiple-click on "Edit" action button in toolbar above vm listing

Comment 2 meital avital 2016-05-10 06:37:33 UTC
Verified on rhevm-3.6.6.2-0.1.el6