Bug 1384475 - Uncaught exception trying to use html5 spice
Summary: Uncaught exception trying to use html5 spice
Keywords:
Status: CLOSED DUPLICATE of bug 1327869
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.5.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: jniederm
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-13 11:07 UTC by Sandro Bonazzola
Modified: 2016-10-13 13:40 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-10-13 13:40:41 UTC
oVirt Team: Virt
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Sandro Bonazzola 2016-10-13 11:07:10 UTC
Description of problem:
Trying to use html5 spice console to connect to a VM I have:

 2016-10-13 14:46:10,544 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-14) [] Permutation name: B822B0DF3CA45516C8D50291527FDD15
 2016-10-13 14:46:10,544 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-14) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException:  (TypeError) 
 __gwt$exception: <skipped>: Cannot read property 'addEventListener' of undefined
        at org.ovirt.engine.ui.common.uicommon.WebClientConsoleInvoker.$invokeClientNative(WebClientConsoleInvoker.java:49)
        at org.ovirt.engine.ui.common.uicommon.WebClientConsoleInvoker$1.onSuccess(WebClientConsoleInvoker.java:39)
        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):
4.0.5 RC2

Comment 1 jniederm 2016-10-13 13:40:41 UTC
The problem is most probably caused by wrong handling of browser refusing to open popup window. Please make sure that your browser enables pop windows for ovirt host.

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


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