Bug 1289961 - [Admin Portal] Error message in UI "Uncaught exception occurred. Please try reloading the page." when creating new pool.
Summary: [Admin Portal] Error message in UI "Uncaught exception occurred. Please try r...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 3.6.1.1
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ovirt-3.6.3
: 3.6.3
Assignee: Arik
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-09 12:23 UTC by Krishna Babu K
Modified: 2016-02-18 11:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:19:47 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.z+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
Pool tab's New Window exception message. (111.85 KB, image/png)
2015-12-09 12:24 UTC, Krishna Babu K
no flags Details
Template tab with "Blank" template. (123.50 KB, image/png)
2015-12-09 12:26 UTC, Krishna Babu K
no flags Details
New window not showing "Blank" tab in its drop-down menu (139.99 KB, image/png)
2015-12-09 12:29 UTC, Krishna Babu K
no flags Details
screenshot showing Exception: Cannot read property 'b' of undefined (115.58 KB, image/png)
2015-12-09 13:15 UTC, sandeep shedmake
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 51081 0 master MERGED webadmin: add missing initialization of vm-init model for pool 2015-12-27 11:56:30 UTC
oVirt gerrit 51084 0 ovirt-engine-3.6 MERGED webadmin: add missing initialization of vm-init model for pool 2015-12-28 09:20:27 UTC

Description Krishna Babu K 2015-12-09 12:23:19 UTC
Description of problem:

When creating new pool via "Pools" tab -> "New" link, "Uncaught exception occurred. Please try reloading the page. Details: Exception caught: (TypeError)_gwt$exception:<skipped>:zab(...)is undefined" is occurring as shown in the attachment.

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

3.6.1.1-0.1.el6

How reproducible:

Always

Steps to Reproduce:
1.Goto "Pools" tab and click on "New" link.
2.Press "ok" button in the appeared window.
3.The reported exception message appearing.

Actual results:

Exception message appearing.

Expected results:

Exception should be handled.

Additional info:

Template already created as shown in the attachment but not available in the "Pools" -> "New" -> "Template" drop-down list.

Comment 1 Krishna Babu K 2015-12-09 12:24:55 UTC
Created attachment 1103854 [details]
Pool tab's New Window exception message.

Comment 2 Krishna Babu K 2015-12-09 12:26:36 UTC
Created attachment 1103855 [details]
Template tab with "Blank" template.

Comment 3 Krishna Babu K 2015-12-09 12:29:57 UTC
Created attachment 1103857 [details]
New window not showing "Blank" tab in its drop-down menu

Comment 4 sandeep shedmake 2015-12-09 13:15:20 UTC
Created attachment 1103894 [details]
screenshot showing Exception: Cannot read property 'b' of undefined

Comment 5 Einav Cohen 2015-12-10 15:21:37 UTC
sounds like an application-level NPE in the New Pool flow. 
reporter - can you please provide client (javascript) log which includes the full stack-trace of the exception?

Comment 6 Krishna Babu K 2015-12-10 16:54:07 UTC
Thu Dec 10 22:22:20 GMT+530 2015 org.ovirt.engine.ui.uicompat.EnumTranslator
WARNING: trying to localize null, probable error. Exception is not thrown, returning 'N/A' 13721B298941468A8820571AF315BDA6.cache.html:24012:11965
Thu Dec 10 22:22:29 GMT+530 2015 
SEVERE: Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
 __gwt$exception: <skipped>: zab(...) is undefined
	at Unknown.ms(Unknown Source)
	at Unknown.us(Unknown Source)
	at Unknown.e3(Unknown Source)
	at Unknown.h3(Unknown Source)
	at Unknown.s2(Unknown Source)
	at Unknown.Im(Unknown Source)
	at Unknown.Sm(Unknown Source)
	at Unknown.g$(Unknown Source)
	at Unknown.Km(Unknown Source)
	at Unknown.v5e(Unknown Source)
	at Unknown.$Ve(Unknown Source)
	at Unknown.$Xe(Unknown Source)
	at Unknown.Yt(Unknown Source)
	at Unknown.au(Unknown Source)
	at Unknown._t/<(Unknown Source)
	at Unknown.ty(Unknown Source)
	at Unknown._4e(Unknown Source)
	at Unknown.aml(Unknown Source)
	at Unknown.v5e(Unknown Source)
	at Unknown.$Ve(Unknown Source)
	at Unknown.ZVe(Unknown Source)
	at Unknown.YXe(Unknown Source)
	at Unknown.Yt(Unknown Source)
	at Unknown.au(Unknown Source)
	at Unknown._t/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: zab(...) is undefined
	at Unknown.aor(Unknown Source)
	at Unknown.L6p(Unknown Source)
	at Unknown.l3p(Unknown Source)
	at Unknown.t3p(Unknown Source)
	at Unknown.mll(Unknown Source)
	at Unknown.pyk(Unknown Source)
	at Unknown.B$(Unknown Source)
	at Unknown.C2(Unknown Source)
	at Unknown.s2(Unknown Source)
	at Unknown.Im(Unknown Source)
	at Unknown.Sm(Unknown Source)
	at Unknown.g$(Unknown Source)
	at Unknown.Km(Unknown Source)
	at Unknown.v5e(Unknown Source)
	at Unknown.$Ve(Unknown Source)
	at Unknown.$Xe(Unknown Source)
	at Unknown.Yt(Unknown Source)
	at Unknown.au(Unknown Source)
	at Unknown._t/<(Unknown Source)
	at Unknown.ty(Unknown Source)
	at Unknown._4e(Unknown Source)
	at Unknown.aml(Unknown Source)
	at Unknown.v5e(Unknown Source)
	at Unknown.$Ve(Unknown Source)
	at Unknown.ZVe(Unknown Source)
	at Unknown.YXe(Unknown Source)
	at Unknown.Yt(Unknown Source)
	at Unknown.au(Unknown Source)
	at Unknown._t/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)

Comment 7 Arik 2015-12-27 08:18:53 UTC
We deliberately do not allow to create a pool that is based on the blank template or on any of its sub-versions. Since you do not have on valid template to choose, you cannot create a pool.

Comment 8 Petr Matyáš 2016-01-29 13:15:25 UTC
Verified on 3.6.3-1


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