Bug 1286224 - Uncaught exception when creating new VM from template
Summary: Uncaught exception when creating new VM from template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.Core
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.2
: 3.6.2
Assignee: Tomas Jelinek
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks: 1309082
TreeView+ depends on / blocked
 
Reported: 2015-11-27 13:52 UTC by Petr Matyáš
Modified: 2019-09-12 09:26 UTC (History)
5 users (show)

Fixed In Version: ovirt-3.6.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1309082 (view as bug list)
Environment:
Last Closed: 2016-02-18 11:18:55 UTC
oVirt Team: Virt
Embargoed:
tjelinek: ovirt-3.6.z?
pmatyas: planning_ack?
tjelinek: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
screenshot (163.44 KB, image/png)
2015-11-27 13:52 UTC, Petr Matyáš
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1286984 0 unspecified CLOSED Uncaught javascript NPE when attempting to Edit VM 2021-02-22 00:41:40 UTC
oVirt gerrit 50591 0 master MERGED webadmin: instance images not working well with templates 2015-12-17 07:50:05 UTC
oVirt gerrit 50646 0 ovirt-engine-3.6 MERGED webadmin: instance images not working well with templates 2015-12-20 09:06:41 UTC

Internal Links: 1286984

Description Petr Matyáš 2015-11-27 13:52:33 UTC
Created attachment 1099696 [details]
screenshot

Description of problem:
There is an uncaught exception in browser console log when creating new VM from template.

13:51:41.075 Fri Nov 27 13:51:41 GMT+100 2015 
SEVERE: Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: zab(...) is undefined
	at Unknown.k5q(Unknown Source)
	at Unknown.o5q(Unknown Source)
	at Unknown.A5q(Unknown Source)
	at Unknown.CMn(Unknown Source)
	at Unknown.FMn(Unknown Source)
	at Unknown.wQn(Unknown Source)
	at Unknown.zQn(Unknown Source)
	at Unknown.uPn(Unknown Source)
	at Unknown.xPn(Unknown Source)
	at Unknown.BHe(Unknown Source)
	at Unknown.Evk(Unknown Source)
	at Unknown.r3(Unknown Source)
	at Unknown.K3(Unknown Source)
	at Unknown.Duf/c.onreadystatechange<(Unknown Source)
	at Unknown.Yt(Unknown Source)
	at Unknown.au(Unknown Source)
	at Unknown._t/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)
1 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:24007:11772
LCe() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:24007
UDe() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:22059
TDe() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:19639
iEe() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:9938
GIk() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:24049
gu() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:18278
au() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:21165
_t/<() 3D3715EC390EF8179A7EF851FB5EC9A5.cache.html:20528

The VM is created successfully, but an error shows up with this exception.

Version-Release number of selected component (if applicable):
rhevm-3.6.1-0.2.el6.noarch
ovirt-engine-3.6.1-1.el6.noarch

How reproducible:
always on my machines

Steps to Reproduce:
1. create new vm
2. select some template with disk as base
3. create the vm

Actual results:
error message

Expected results:
no error message

Additional info:

Comment 1 Tomas Jelinek 2015-12-16 09:38:29 UTC
The actual exception is this:
java.lang.NullPointerException: null 	
org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImagesModel.findBecomeNonBoot(InstanceImagesModel.java:191) 	org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImagesModel.orderedDisksIterator(InstanceImagesModel.java:177) org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImagesModel.access$1(InstanceImagesModel.java:167) 	org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImagesModel$2.onSuccess(InstanceImagesModel.java:153)

Comment 2 Tomas Jelinek 2015-12-17 07:56:25 UTC
not yet modified - needs a backport. Moving back to POST

Comment 3 Petr Matyáš 2016-01-06 09:11:52 UTC
Verified on 3.6.2-3


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