wildside96 / bst-player

Automatically exported from code.google.com/p/bst-player
0 stars 0 forks source link

Object [object HTMLBodyElement] has no method 'attachEvent' stack #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Getting this exception when running the application using GWT codes

What is the expected output? What do you see instead?
Thrown exception:

com.google.gwt.core.client.JavaScriptException: (TypeError): Object [object 
HTMLBodyElement] has no method 'attachEvent'  stack: TypeError: Object [object 
HTMLBodyElement] has no method 'attachEvent'     at [object Object].<anonymous> 
(unknown source)     at __gwt_jsInvoke 
(http://localhost:9088/RaiderWeb/detailscreen/hosted.html?detailscreen:76:35)   
  at 
http://localhost:9088/RaiderWeb/detailscreen/hosted.html?detailscreen:280:16    
 at C 
(http://localhost:9088/RaiderWeb/detailscreen/detailscreen.nocache.js:2:144)    
 at http://localhost:9088/RaiderWeb/detailscreen/detailscreen.nocache.js:9:589  
arguments: attachEvent,[object HTMLBodyElement]  type: undefined_method  
__gwt_ObjectId: 16  at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:237)   at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) 
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)  at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)     at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107
)   at 
com.google.gwt.user.client.impl.DOMImplTrident.initEventSystem(DOMImplTrident.ja
va)     at 
com.google.gwt.user.client.impl.DOMImpl.maybeInitializeEventSystem(DOMImpl.java:
113)    at 
com.google.gwt.user.client.DOM.maybeInitializeEventSystem(DOM.java:1273)    at 
com.google.gwt.user.client.Event$.addNativePreviewHandler(Event.java:417)   at 
com.delta.raider.client.DetailScreen.disableRightClick(DetailScreen.java:116) 
    at com.delta.raider.client.DetailScreen.onModuleLoad(DetailScreen.java:32)  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) 
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:37)   at java.lang.reflect.Method.invoke(Method.java:599)     at 
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)   at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:183)   at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:510)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:735)

What version of the product are you using? On what operating system? On
what browser/version?

XP SP3
IE8 with Google Chrome Frame plugin

Please provide any additional information below.

Original issue reported on code.google.com by jason.da...@gtempaccount.com on 27 Apr 2011 at 1:46

GoogleCodeExporter commented 9 years ago
For what it's worth I had this issue because I was sending an IE user agent but 
using Chrome. 

I resolved this issue by setting my user agent back to Chrome.

Original comment by Andrew....@gmail.com on 3 Oct 2012 at 9:10

GoogleCodeExporter commented 9 years ago
Thanks for the update.

Original comment by sbrah...@gmail.com on 25 Dec 2012 at 3:35