Bug 1357440 - Cannot create an instance type via UI - gwt error
Summary: Cannot create an instance type via UI - gwt error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.0.2
: 4.0.2
Assignee: Tomas Jelinek
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-18 08:46 UTC by sefi litmanovich
Modified: 2016-08-12 14:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-12 14:23:13 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.z+
mgoldboi: blocker+
rule-engine: planning_ack+
tjelinek: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
engine log and ui log (512.09 KB, application/x-gzip)
2016-07-18 08:46 UTC, sefi litmanovich
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 60898 0 master MERGED webadmin: NPE on new instance type dialog 2016-07-18 11:14:32 UTC
oVirt gerrit 61002 0 ovirt-engine-4.0 MERGED webadmin: NPE on new instance type dialog 2016-07-19 12:01:50 UTC

Description sefi litmanovich 2016-07-18 08:46:25 UTC
Created attachment 1180955 [details]
engine log and ui log

Description of problem:

Attempting to create an instance type via is impossible due to some gwt problem.
After installing on engine 'ovirt-engine-webadmin-portal-debuginfo' ui.log show:

2016-07-18 11:31:26,402 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Permutation name: CBBD66D75206D3DF2F70C1CF171481F6
2016-07-18 11:31:26,402 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Uncaught exception: : com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: Cannot read property 'b' of undefined
        at org.ovirt.engine.ui.uicommonweb.builders.vm.MigrationOptionsUnitToVmBaseBuilder.$build(MigrationOptionsUnitToVmBaseBuilder.java:9)
        at org.ovirt.engine.ui.uicommonweb.builders.vm.MigrationOptionsUnitToVmBaseBuilder.build(MigrationOptionsUnitToVmBaseBuilder.java:9)
        at org.ovirt.engine.ui.uicommonweb.builders.BaseSyncBuilder.build(BaseSyncBuilder.java:13)
        at org.ovirt.engine.ui.uicommonweb.builders.BaseSyncBuilder.build(BaseSyncBuilder.java:13)
        at org.ovirt.engine.ui.uicommonweb.builders.BaseSyncBuilder.build(BaseSyncBuilder.java:13)
        at org.ovirt.engine.ui.uicommonweb.builders.BaseSyncBuilder.build(BaseSyncBuilder.java:13)
        at org.ovirt.engine.ui.uicommonweb.builders.BuilderExecutor.$build(BuilderExecutor.java:61)
        at org.ovirt.engine.ui.uicommonweb.builders.BuilderExecutor.build(BuilderExecutor.java:28)
        at org.ovirt.engine.ui.uicommonweb.models.configure.instancetypes.InstanceTypeListModel.$buildVmStatic(InstanceTypeListModel.java:206)
        at org.ovirt.engine.ui.uicommonweb.models.configure.instancetypes.InstanceTypeListModel.$postInstanceTypeNameUniqueCheck(InstanceTypeListModel.java:220)
        at org.ovirt.engine.ui.uicommonweb.models.configure.instancetypes.InstanceTypeListModel$3.onSuccess(InstanceTypeListModel.java:187)
        at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:238) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:238) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:139) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:139) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.$onSuccess(GWTRPCCommunicationProvider.java:160) [frontend.jar:]
        at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.onSuccess(GWTRPCCommunicationProvider.java:160) [frontend.jar:]
        at com.google.gwt.rpc.client.impl.RpcCallbackAdapter.onResponseReceived(RpcCallbackAdapter.java:72) [gwt-servlet.jar:]
        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.eval(webadmin-0.js@65)
        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.eval(webadmin-0.js@54)

Version-Release number of selected component (if applicable):
rhevm-4.0.2-0.2.rc1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. In UI got to configure on top right corner.
2. Under Instance Types sub-tab choose create.
3. Set some values and give the instance type a name, click 'ok' button.

Actual results:
Action is not proceeding, ui is still stuck on the menu with a gwt error appearing on the top of the screen. Getting the error mentioned above.

Expected results:
Instance type is created successfully.

Additional info:

Comment 1 Petr Matyáš 2016-08-05 12:11:42 UTC
Verified on 4.0.2-6


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