Bug 1289961

Summary: [Admin Portal] Error message in UI "Uncaught exception occurred. Please try reloading the page." when creating new pool.
Product: [oVirt] ovirt-engine Reporter: Krishna Babu K <kkrothap>
Component: Frontend.WebAdminAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.1.1CC: bugs, kkrothap, pmatyas, sbonazzo, sshedmak, tjelinek, ykaul
Target Milestone: ovirt-3.6.3Flags: rule-engine: ovirt-3.6.z+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.3   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:19:47 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:
Attachments:
Description Flags
Pool tab's New Window exception message.
none
Template tab with "Blank" template.
none
New window not showing "Blank" tab in its drop-down menu
none
screenshot showing Exception: Cannot read property 'b' of undefined none

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