Bug 1326311 - Getting exception while trying to open Edit dialog while the VM is starting
Summary: Getting exception while trying to open Edit dialog while the VM is starting
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 3.6.5.1
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: ovirt-3.6.6
: 3.6.6
Assignee: jniederm
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-12 11:54 UTC by meital avital
Modified: 2016-05-30 10:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-30 10:54:54 UTC
oVirt Team: Virt
rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 56055 0 master MERGED webadmin: Fix NPE in Edit VM dialog 2016-04-13 12:50:41 UTC
oVirt gerrit 56144 0 ovirt-engine-3.6 MERGED webadmin: Fix NPE in Edit VM dialog 2016-04-14 14:08:20 UTC

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


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