Bug 1188591 - NPE on add disk popup
Summary: NPE on add disk popup
Keywords:
Status: CLOSED DUPLICATE of bug 1149442
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.5
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 3.5.2
Assignee: Gilad Chaplik
QA Contact: Pavel Stehlik
URL:
Whiteboard: storage
Depends On:
Blocks: 1193195
TreeView+ depends on / blocked
 
Reported: 2015-02-03 10:38 UTC by Tomas Jelinek
Modified: 2016-02-10 19:43 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-08 11:50:20 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
screenshot of dialog (102.38 KB, image/png)
2015-02-03 11:57 UTC, Tomas Jelinek
no flags Details

Description Tomas Jelinek 2015-02-03 10:38:23 UTC
oVirt Engine Version: 3.5.0.1-1.el6

Pick a VM, in the disks subtab click new, fill everything and press OK. Nothing happens. In javascript console the following log shows it is a NPE on frontend:

"Tue Feb 03 11:25:04 GMT+100 2015 com.google.gwt.logging.client.LogConfiguration
SEVERE: Exception caught: (TypeError) : d4(...) is null
com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : d4(...) is null
    at Unknown.$p(Unknown Source)
    at Unknown.fq(Unknown Source)
    at Unknown.NY(Unknown Source)
    at Unknown.QY(Unknown Source)
    at Unknown._X(Unknown Source)
    at Unknown.Rae(Unknown Source)
    at Unknown._ae(Unknown Source)
    at Unknown.PT(Unknown Source)
    at Unknown.Tae(Unknown Source)
    at Unknown.Awe(Unknown Source)
    at Unknown.mbe(Unknown Source)
    at Unknown.Ele(Unknown Source)
    at Unknown.hne/bne<(Unknown Source)
    at Unknown.Jr(Unknown Source)
    at Unknown.Mr(Unknown Source)
    at Unknown.Lr/<(Unknown Source)
    at Unknown.rv(Unknown Source)
    at Unknown.ewe(Unknown Source)
    at Unknown.fLj(Unknown Source)
    at Unknown.Awe(Unknown Source)
    at Unknown.mbe(Unknown Source)
    at Unknown.Ele(Unknown Source)
    at Unknown.hne/_me<(Unknown Source)
    at Unknown.Jr(Unknown Source)
    at Unknown.Mr(Unknown Source)
    at Unknown.Lr/<(Unknown Source)
    at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : d4(...) is null
    at Unknown.t9n(Unknown Source)
    at Unknown.Gko(Unknown Source)
    at Unknown.cao(Unknown Source)
    at Unknown.xKj(Unknown Source)
    at Unknown.c6i(Unknown Source)
    at Unknown.iU(Unknown Source)
    at Unknown.jY(Unknown Source)
    at Unknown._X(Unknown Source)
    at Unknown.Rae(Unknown Source)
    at Unknown._ae(Unknown Source)
    at Unknown.PT(Unknown Source)
    at Unknown.Tae(Unknown Source)
    at Unknown.Awe(Unknown Source)
    at Unknown.mbe(Unknown Source)
    at Unknown.Ele(Unknown Source)
    at Unknown.hne/bne<(Unknown Source)
    at Unknown.Jr(Unknown Source)
    at Unknown.Mr(Unknown Source)
    at Unknown.Lr/<(Unknown Source)
    at Unknown.rv(Unknown Source)
    at Unknown.ewe(Unknown Source)
    at Unknown.fLj(Unknown Source)
    at Unknown.Awe(Unknown Source)
    at Unknown.mbe(Unknown Source)
    at Unknown.Ele(Unknown Source)
    at Unknown.hne/_me<(Unknown Source)
    at Unknown.Jr(Unknown Source)
    at Unknown.Mr(Unknown Source)
    at Unknown.Lr/<(Unknown Source)
    at Unknown.anonymous(Unknown Source)"

Comment 1 Juanjo 2015-02-03 11:26:24 UTC
Configuration system where it has been detected the bug:

- host 1 and host 2 with Linux kernel 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
- host 3 with Linux kernel 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
- host 4 with Linux kernel 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
- engine with Linux kernel 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Packages in oVirt engine server:

Installed Packages
ovirt-engine.noarch                                  3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-backend.noarch                          3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-cli.noarch                              3.3.0.6-1.el6 @ovirt-3.3.3
ovirt-engine-dbscripts.noarch                        3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-extension-aaa-ldap.noarch 1.0.1-0.0.master.20141209141731.git0437701.el6 installed
ovirt-engine-extensions-api-impl.noarch              3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-jboss-as.x86_64                         7.1.1-1.el6   @ovirt-3.5
ovirt-engine-lib.noarch                              3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-restapi.noarch                          3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-sdk-python.noarch                       3.5.0.8-1.el6 @ovirt-3.5
ovirt-engine-setup.noarch                            3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-setup-base.noarch                       3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-setup-plugin-ovirt-engine.noarch        3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-setup-plugin-ovirt-engine-common.noarch 3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-setup-plugin-websocket-proxy.noarch     3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-tools.noarch                            3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-userportal.noarch                       3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-webadmin-portal.noarch                  3.5.0.1-1.el6 @ovirt-3.5
ovirt-engine-websocket-proxy.noarch                  3.5.0.1-1.el6 @ovirt-3.5
ovirt-guest-agent.noarch                             1.0.10.2-1.el6 @epel
ovirt-host-deploy.noarch                             1.3.0-1.el6 @ovirt-3.5
ovirt-host-deploy-java.noarch                        1.3.0-1.el6 @ovirt-3.5
ovirt-image-uploader.noarch                          3.5.0-1.el6 @ovirt-3.5
ovirt-iso-uploader.noarch                            3.5.0-1.el6 @ovirt-3.5
ovirt-log-collector.noarch                      3.4.1-1.el6 @ovirt-3.4-stable
ovirt-release35.noarch                          002-0.0.master @/ovirt-release35

Storage from iSCSI resources.

Host packages installed:

ovirt-release.noarch                    11.0.2-1 @/ovirt-release.noarch
ovirt-release35.noarch                  002-0.0.master @/ovirt-release35
vdsm.x86_64                             4.16.7-1.gitdb83943.el6 @ovirt-3.5
vdsm-cli.noarch                         4.16.7-1.gitdb83943.el6 @ovirt-3.5
vdsm-jsonrpc.noarch                     4.16.7-1.gitdb83943.el6 @ovirt-3.5
vdsm-python.noarch                      4.16.7-1.gitdb83943.el6 @ovirt-3.5
vdsm-python-zombiereaper.noarch         4.16.7-1.gitdb83943.el6 @ovirt-3.5
vdsm-xmlrpc.noarch                      4.16.7-1.gitdb83943.el6 @ovirt-3.5
vdsm-yajsonrpc.noarch                   4.16.7-1.gitdb83943.el6 @ovirt-3.5

The error appears when a Virtual disk is added to a VM, the windows dialog with the size of the disk and other information is filled and after that I click in "OK" button and the error appears in the web console.

Many thanks,

Juanjo.

Comment 2 Tomas Jelinek 2015-02-03 11:57:36 UTC
Created attachment 987524 [details]
screenshot of dialog

Comment 3 Tal Nisan 2015-02-04 09:10:24 UTC
Gilad, is it possible that the NPE is because of the null disk profile?

Comment 4 Sandro Bonazzola 2015-02-04 09:23:20 UTC
Isn't this fixed in 3.5.1.1 we just released async, fixing bug #1185615 ?

Comment 5 Tal Nisan 2015-02-04 10:05:58 UTC
Looks like it's connected to one another although in bug #1185615 the NPE was in the backend so I'm not 100%, that's why I put needinfo on Gilad

Comment 6 Tal Nisan 2015-02-04 10:10:26 UTC
In any case - this does not reproduce in master

Comment 7 Tomas Jelinek 2015-02-04 11:37:19 UTC
ops, sorry, accidentally removed needinfo from Gilad - added back

Comment 8 Gilad Chaplik 2015-02-08 11:50:20 UTC
known bug, didn't make it to 3.5.0.1. saw the corespondent in users list, and adding an empty disk profile should solve it.

*** This bug has been marked as a duplicate of bug 1149442 ***


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